// dlg.txt

//MK Edit

//mark_quest_dest(zone,x,y,layer,quest);
//	code =
//		sf(,,2);
//		toggle_quest(19,10);
//		award_party_xp(MED_QUEST_XP);
//	break;

begintalkscript;

variables;

short this_town = 15;

begintalknode;
	tag = 1;
	condition = get_sdf(this_town,1) == 0;
	text1 = "You enter the Rokaj town of Ssilyn. It is the largest city in the Kranas Woods, the closest thing they have to a capital. Their Raasa and Haven's governor are both here, doing their best to bring order to this dark, dangerous forest.";
	text2 = "You didn't expect much wealth or opulence, and you aren't disappointed. It's a collection of wood buildings, connected by gravel pathways. They look like they become a muddy mess when it rains. Ssilyn once had stone walls, but they were shattered a century ago and never rebuilt.";
	text3 = "There are lots of long patches of trees. They grow well, like all flora in this land. Too well. This is an old town, but it feels like the forest could engulf it in a week.";
	text4 = "The people here are poor and wild. They're all armed and dressed in leather. They come here to do their trading, and then they disappear back into the forest. They openly stare at you, a strange curiosity that will be gone soon.";
	code =
		sf(this_town,1,1);
	break;
	
begintalknode;
	tag = 2;
	condition = get_sdf(this_town,2) == 0 && gf(15,12) > 0;
	text1 = "You return to Ssilyn. It is still a muddy waypost in the middle of a deep, dark forest. Everything looks the same, but, as expected, there is a tense energy in the air. Their Raasa has been killed, and nobody knows what is going to happen.";
	text2 = "There are more people in the streets, but nobody is staring at you anymore. Envoys from the clans move quickly from shop to shop, stocking up on supplies and weapons. War is expected, and they are preparing.";
	code =
		sf(this_town,2,1);
	break;

begintalknode;
	tag = 3;
	condition = get_sdf(this_town,3) == 0;
	text1 = "This wooden hall is centuries old. It is the meeting hall of the Raasa of the Kranas Woods. Honestly, it's too small for the size and wealth of this province. A bit humble for such an important vassal of Haven. Not that they would ever consider changing it.";
	text2 = "The Raasa sits at the head table, watched over by guards. In the Ro, assassination is always a possibility. He is an old man, and his post has not shielded him from the hard life out here. He rises and smiles, waving you forward.";
	text3 = "_The [P]! The diplomat! I am Raasa Khamm. Come and sit. Have some tea. I know you are busy, and we have business._";
	code =
		sf(this_town,3,1);
	break;

begintalknode;
	tag = 4;
	condition = get_sdf(this_town,4) == 0 && gf(15,12) > 0;
	text1 = "You return to the meeting hall of Ssilyn. This is where Raasa Khamm met you and where he died. Nothing much has changed, really. The old Raasa is dead, and a younger man was swapped in.";
	text2 = "He sits in the same place, watched over by the same guards, eating from the same plates. When you enter, he waves you forward. No smiles, though. Things are very grim.";
	code =
		sf(this_town,4,1);
	break;

begintalknode;
	tag = 5;
	condition = get_sdf(this_town,5) == 0;
	text1 = "You enter the Governor's hall, where Haven makes its wishes to its vassal known. It is old, wood, and worn down by the centuries, like all buildings in Ssilyn.";
	text2 = "But inside, it is different. It is fancy. The rugs are new, the hangings on the wall expensive. Fine wine is shipped in. Fancy Low Dhaga stonework is everywhere.";
	text3 = "Your royal training tells you what you are seeing. The Governor here is growing very wealthy from control of the Kranas Woods and wants to show it.";
	code =
		sf(this_town,5,1);
	break;

begintalknode;
	tag = 6;
	condition = get_sdf(this_town,6) == 0 && gf(15,13) > 1;
	text1 = "You return to the table where Counsel Abelin worked. He is gone. His workplace at the table is bare. His papers and equipment are gone.";
	text2 = "You wonder where he might be. Governor Yvette is likely to know.";
	code =
		sf(this_town,6,1);
		
		toggle_quest(37,3);
	break;

begintalknode;
	tag = 7;
	condition = get_sdf(this_town,7) == 0;
	text1 = "__";
	code =
		sf(this_town,7,1);
	break;

begintalknode;
	tag = 8;
	condition = get_sdf(this_town,8) == 0;
	text1 = "__";
	code =
		sf(this_town,8,1);
	break;

begintalknode;
	tag = 9;
	condition = get_sdf(this_town,9) == 0;
	text1 = "__";
	code =
		sf(this_town,9,1);
	break;

begintalknode;
	tag = 10;
	condition = get_sdf(this_town,10) == 0;
	text1 = "__";
	code =
		sf(this_town,10,1);
	break;

begintalknode;
	tag = 11;
	condition = get_sdf(this_town,11) == 0;
	text1 = "__";
	code =
		sf(this_town,11,1);
	break;

begintalknode;
	tag = 12;
	condition = get_sdf(this_town,12) == 0;
	text1 = "__";
	code =
		sf(this_town,12,1);
	break;

// MIXED

begintalknode;
	tag = 13;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 14;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 15;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 16;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 17;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 18;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 19;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 20;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 21;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 22;
	condition = 1;
	text1 = "__";

//// Raasa Khamm

begintalknode;
	tag = 30;
	state = -1;
	nextstate = 10;
	condition = 1;
	question = "Name";
	text1 = "The Raasa sits alone in the west end of the hall, but there are plenty of chairs for you to circle around him. You recognize the calm authority of a competent leader. He has survived in this role for many years, far longer than usual.";
	text2 = "He does you the honor of pouring your tea himself. _I am honored by this diplomatic visit. It has been a long time. A long, long time. I am Raasa Khamm. For over thirty years, I have had the honor of guiding the Kranas as it followed its path._";
	text5 = "Raasa Khamm sits and chats with you. Sometimes, he asks about Haven or tells you about the beautiful sights of the Kranas Woods. Eventually, he always steers the conversation back to business.";
	action = INTRO;

begintalknode;
	state = 10;
	nextstate = 11;
	condition = gf(80,8) < 2;
	question = "_I am [P] [N] of Haven. I was sent by Queen Sharyn to hear your petition._";
	text1 = "Raasa Khamm is surprised. _I hope this visit is about more than mere business. After the attack on you, we want to show you that most of the Ro value Haven. You are a great power, after all. I have a question, if it might be allowed._";

begintalknode;
	state = 10;
	nextstate = 11;
	condition = gf(80,8) < 2;
	question = "I am [P] [N] of Haven. I am honored to be received by you, Raasa Khamm._";
	text1 = "Raasa Khamm is pleased by your courtesy. _The honor is mine, [P]. Haven is a great power, and yet it sees us worthy to have full royalty grace this humble old hall. I have a question, if it might be allowed._";

begintalknode;
	state = 10;
	nextstate = 11;
	condition = gf(80,8) < 2;
	question = "_You know why I'm here. Let's get this over with._";
	text1 = "Raasa Khamm gives no response to this. Is he angry? Shocked? You can't tell. He says, _I will not delay you. We know that Haven thinks of us little. Before we conduct business, I have a question, if it might be allowed._";

begintalknode;
	state = 11;
	nextstate = 12;
	condition = 1;
	question = "_Of course._";
	text1 = "_It might not seem like it, but most of the Rokaj value the protection and trade Haven provides greatly. I have spent my life trying to deal with you and keep the peace, though you have looked away from us for a long time._";
	text2 = "_But that has changed. You are back. You have had time to see a little of our land. What do you think of it?_";

begintalknode;
	state = 12;
	nextstate = 13;
	condition = 1;
	question = "_This is the homeland of my father, and I am very pleased to return to it._";
	text1 = "_And we are pleased that you have returned, young [P]. Haven had been absent from the Ro for a long time. I am pleased to have your attention again. Now, at last, we can come to business._";

begintalknode;
	state = 12;
	nextstate = 13;
	condition = 1;
	question = "_It is good to visit the Rokaj. It is long overdue._";
	text1 = "_I am afraid I must agree with you. We have not received a proper diplomatic visit from Haven for a long time. But that is past! There is much that should be repaired. Now, at last, we can come to business._";

begintalknode;
	state = 12;
	nextstate = 13;
	condition = 1;
	question = "_It was a very nice visit, up until you tried to kill me._";
	text1 = "Raasa Khamm looks away from you. _Yes. That cowardly attack shamed the Rokaj. A tiny number of us do not appreciate the protection Haven brings. We will find and punish them, and we will show them that Haven is finally paying attention to us._";
	text2 = "_So let us begin! Now, at last, we can come to business._";

begintalknode;
	state = 12;
	nextstate = 13;
	condition = 1;
	question = "_It's just another backwater in which to do errands for my Mother._";
	text1 = "Raasa Khamm's face is entirely blank. _Well. We wanted attention. Now we have attention, even if it is grudgingly given. I can see that you don't want your time wasted. We can come to business._";

begintalknode;
	state = 13;
	nextstate = 14;
	condition = 1;
	question = "_And that is?_";
	text1 = "_When a diplomat of Haven comes to the Rokaj, it is tradition that you go to the Raasas and hear our petitions. You find out what is wrong, what we need. Then you help us. That is what Haven brings to our alliance._";

begintalknode;
	state = 14;
	nextstate = -1;
	condition = 1;
	question = "_I am eager. I know these petitions are usually formalities._";
	text1 = "_Yes. Usually. We are your vassal. You are large and we are small. That means we sometimes need to call on your strength._";

begintalknode;
	state = 14;
	nextstate = 15;
	condition = 1;
	question = "_What is your petition?_";
	text1 = "_The Kranas Woods are angry. We can't calm them. We need you to._";

begintalknode;
	state = 15;
	nextstate = 16;
	condition = 1;
	question = "_What?_";
	text1 = "_The magic and majesty of our forest comes from a number of sacred groves. Some of those have died over the last twenty years. The rest are angry. Hostile spirits have settled in them, and our druids have not been able to calm them._";
	text2 = "_They are angry because of Haven. So Haven must go and pacify them. That is our petition._";

begintalknode;
	state = 16;
	nextstate = -1;
	condition = 1;
	question = "_I'm not sure how this is Haven's responsibility._";
	text1 = "_Governor Yvette, your leader here, has expanded Haven's presence in our woods. More roads, more mines, more farms. She has come close to the groves, and they are angry._";

begintalknode;
	state = 16;
	nextstate = -1;
	condition = 1;
	question = "_I wouldn't know how to proceed._";
	text1 = "_Don't worry. I have spent many long hours consulting with our druids, and I know how to guide you. You may come to me for guidance._";
	text2 = "_This is a great opportunity for Haven to show it truly cares about its vassal._ Lucky you.";

begintalknode;
	state = 16;
	nextstate = 10;
	condition = 1;
	question = "_It is a fair petition. I will make sure that it is done._";
	text1 = "_We are so very grateful. I am ready to give instructions immediately. I believe that it will only take a little bit of traveling and a modest show of force._";
	text2 = "_I am sorry to make such a bold demand, [P]. However, it is entirely necessary. If the groves turn on Haven, our people are sure to follow._";
	code = 
		set_flag(15,11,1);
		toggle_quest(13,1);
		toggle_quest(9,3);
		sf(80,8,2);
		
		run_game_hardcode(1002);
	break;


begintalknode;
	state = 16;
	nextstate = 10;
	condition = 1;
	question = "_I need to consult with my family._";
	text1 = "_Of course. Use the mirror in [F1] if necessary. However, it is our right, by our treaty with you, to make this request. You have been gone a long time. We need your help now. It is why we allow ourselves to be your vassal._";
	text2 = "_I am sorry to make such a bold demand, [P]. However, it is entirely necessary. If the groves turn on Haven, our people are sure to follow._";
	code = 
		set_flag(15,11,1);
		toggle_quest(13,1);
		toggle_quest(9,3);
		sf(80,8,2);

		run_game_hardcode(1002);
	break;

begintalknode;
	state = 10;
	nextstate = 17;
	condition = gf(80,8) >= 2 && gf(15,11) < 8;
	question = "_I want to discuss your petition._";
	text1 = "_Of course. The calming of the groves. A hard, necessary task. If our forest rejects Haven, the people are sure to follow. I know that the power of Haven will be adequate to the task._";

begintalknode;
	state = 17;
	nextstate = -1;
	condition = gf(15,11) == 1;
	question = "_I don't want to do it._";
	text1 = "_Then we have nothing else to talk about. We have requested something we have the right to ask for. Until we get our due, I will not say you have answered my petition._";
	action = END_TALK;
	
begintalknode;
	state = 17;
	nextstate = 18;
	condition = 1;
	question = "_I will try to heal your forest._";
	text1 = "_Then let us get to work. I can tell you what the problem is and where you can go to soothe the rage of the woods._";

begintalknode; // BEGIN MAIN QUEST
	state = 18;
	nextstate = 19;
	condition = 1;
	question = "_What exactly is going wrong with the Kranas Woods?_";
	text1 = "Rabila sighs. _I wish Khamm was here to say all this. I am not a born speaker. I know what he would have me tell you._";
	text2 = "_The magic of our forest sustains and feeds and protects us. The hearts of that magic are the sacred groves. Well, what few of the groves remain now._";
	text3 = "_Now nature is attacking us._";
	code =
		if (gf(15,12) == 0)
			rs(1);
	break;
	
begintalknode;
	state = 19;
	nextstate = -1;
	condition = 1;
	question = "_How is nature attacking you?_";
	text1 = "_The trees are growing faster, trying to overwhelm our farms and clan houses. The beasts that normally stay in the deep woods are emerging. It is dangerous for even our stalkers and druids to walk off the paths._";
	text2 = "_Worst of all, there is a new presence. The rootlings. Walking trees, mindless and violent. They grow out of the ground and attack us. We have never seen them before. They are deadly, and ... It shames me to admit it, but many are frightened._";

begintalknode;
	state = 19;
	nextstate = -1;
	condition = 1;
	question = "_Your people are being attacked by the forest, even though you worship it?_";
	text1 = "_We are being attacked because we worship it. The forest knows that only the Ro of the Kranas will protect us. The attacks are how it says that it needs our protection._";

begintalknode;
	state = 19;
	nextstate = -1;
	condition = 1;
	question = "_Why do you think Haven is responsible?_";
	text1 = "_The forest loves us while we are gentle with it. We don't cut down the thinking trees. We live in the groves the forest makes available for us. We earn our livings by digging out of the dirt and rock._";
	text2 = "_Your governor does not agree with this. She has helped outsiders expand into our forest. More farms, more mines. Haven's settlers have even moved into two sacred groves that died. The forest is reacting._";

begintalknode;
	state = 19;
	nextstate = -1;
	condition = 1;
	question = "_How can I possibly calm down a tree?_";
	text1 = "_The trees in the sacred groves are not mindless. They can communicate with us in their ways. You can go there and confront them. Force may be necessary. We are dealing with nature, after all._";
	text2 = "_The important thing is to leave the groves alive. My people will be very angry if more groves die._";

begintalknode;
	state = 19;
	nextstate = 50;
	condition = 1;
	question = "_Have Haven's soldiers helped you?_";
	text1 = "_I have sent many messages to Governor Yvette. She listens and says nice things, but she has her own goals._";

begintalknode;
	state = 50;
	nextstate = 19;
	condition = 1;
	question = "_Explain._";
	text1 = "_There is much wealth in the Kranas Woods, and Governor Yvette wants as much of it for her family and her as possible. The amber from the groves is very valuable. The land under them is as well. Yvette has taken them, killing groves. She will do more, if allowed._";

begintalknode;
	state = 19;
	nextstate = 18;
	condition = 1;
	question = "_Let's talk about something else._";
	text1 = "_Yes. Information is useful, but it is time to act._";

begintalknode; 
	state = 18;
	nextstate = 20;
	condition = gf(15,11) == 1 || gf(15,11) == 2;
	question = "_How do I begin to pacify the groves?_";
	text1 = "_We should start close to home. There are two sacred groves, ancient beyond memory, that are communicating with us. They are sending their rage, in the form of unnatural attackers._";
	text2 = "_They are Watchfire Grove and Deepgrove. They are not far away. Convince them to stop attacking us, but do not exploit them._";
	code = 
		set_flag(15,11,2);
		toggle_quest(13,3);
	break;

begintalknode;
	state = 20;
	nextstate = -1;
	condition = 1;
	question = "_How can I calm down a grove?_";
	text1 = "_Our groves and ancient and wise, but they are ... simple. To truly pacify them, you must get Haven to stop attacking our forest. Right now, what we need is for them to stop hurting us._";
	text2 = "_When you get there, the groves will communicate with you, in their own ways. You must convince them to stop assaulting us. Some force may be required. We love the plants, but sometimes you have to prune them._";

begintalknode;
	state = 20;
	nextstate = -1;
	condition = 1;
	question = "_Tell me about Watchfire Grove._";
	text1 = "_It is to the south. It is the angriest and most unstable of the groves. Our druids had to place enchanted fires in it. They calm its spirits without damaging it._";
	text2 = "_Of late, however, it has been enraging serpents and other beasts that come too close to it. Its influence needs to be pruned._";

begintalknode;
	state = 20;
	nextstate = -1;
	condition = 1;
	question = "_Tell me about Deepgrove._";
	text1 = "_It is a mysterious grove to the northwest, set back in a deep valley. Very few druids are allowed deep within it, and they don't talk about the experience._";
	text2 = "_Now rootlings are coming out of it. They strangle our trade. And our people. There is rot in there, and it needs to be cut out. We love the trees, but we will not tolerate them sending horrors._";

begintalknode;
	state = 20;
	nextstate = -1;
	condition = 1;
	question = "_What do you mean by not exploiting a grove?_";
	text1 = "_The groves are treasure. Not just for the magic they project, but for the magical ingredients that can be found within. Amber. Enchanted sap. Old treasures left by ages past. These can tempt raiders, but the Kranas will not tolerate looting of the groves._";
	text2 = "_Let the trees communicate with you. Cut out the anger and the rotting bits. Leave the healthy trees alone._";
	text2 = "";

begintalknode;
	state = 18;
	nextstate = 40;
	condition = gf(15,11) == 2 && (gf(18,11) > 0 || gf(19,11) > 0);
	question = "_I have pacified one of your groves._";
	text1 = "You tell the Raasa your story. _It sounds like you pruned out the rot successfully. Already I am hearing that the area is safer. Quieter woods. Fewer monsters. This is a great relief. It proves that you are capable of doing what we need._";
	text2 = "_Now that we know what we are doing, we can begin to actually deal with my petition. First, I must ask. You calmed the grove. You removed the damage. Did you leave the healthy wood intact?_";
	code = 
		set_flag(15,11,3);
		toggle_quest(13,4);
		award_party_xp(MED_QUEST_XP);
	break;		

begintalknode;
	state = 40;
	nextstate = 18;
	condition = gf(18,12) > 0 || gf(19,12) > 0;
	question = "_Actually, I had to burn a grove down. It was necessary._";
	text1 = "Raasa Khamm is silent for a long moment. _I had feared it was so. The druids said that the forest was disrupted, but ... I didn't want to believe them. I will not lie, [P]. This will anger my people._";
	text2 = "_Still, our work must continue. The Kranas Woods are watching you. They want to see if Haven can truly understand our ways and help us._";

begintalknode;
	state = 40;
	nextstate = 18;
	condition = gf(18,12) > 0 || gf(19,12) > 0;
	question = "_I was able to make peace with a grove. It is intact._ (Lie.)";
	text1 = "_Our druids told me otherwise. They said that the forest was angry.  I am glad to hear it from you directly that this is not true. If you did destroy a grove, the Kranas would be very angry. Of course, if you are lying, we will know it soon. But you are not, yes?_";
	text2 = "_Anyway, our noble work can continue. The Kranas Woods are watching you. They want to see if Haven can truly understand our ways and help us._";

begintalknode;
	state = 40;
	nextstate = 18;
	condition = gf(18,12) == 0 && gf(19,12) == 0;
	question = "_I was able to make peace with the grove. It is intact._";
	text1 = "_This is what the druids told me, but I am glad to hear it from you directly. It is a good thing. If it was not so, the Kranas would be very angry._";
	text2 = "_Our noble work can continue. The Kranas Woods are watching you. They want to see if Haven can truly understand our ways and help us._";

begintalknode;
	state = 18;
	nextstate = -1;
	condition = gf(15,11) == 3;
	question = "_Have I not done enough to please you, Raasa?_";
	text1 = "_You need to understand the depths of the problem. The groves near us? They are closer to the outside world, so they are always upset. It is our deepest groves that are angry. This has not happened in centuries. My people are afraid and angry, and they feel helpless. Even the druids despair._";
	text2 = "_If Haven, with all its power and wisdom, can't help us now, why are we your vassal?_";

begintalknode;
	state = 18;
	nextstate = 21;
	condition = gf(15,11) == 3 || gf(15,11) == 4;
	question = "_What is the next grove to visit?_";
	text1 = "_Well, it is not really a grove. Just a very dense forest, that has decided to come to life. Unfortunately, it is the Ruska Pass, the densely wooded valley that connects the north and south half of the Kranas Woods._";
	text2 = "_It is an unusual place. It was a great place for outsiders to visit. Now its trees walk. It won't let outsiders pass. Even loyal Ro have a hard time forcing their way through. We can't find out what caused this change. You need to. You will be allowed in._";
	code = 
		set_flag(15,11,4);
		toggle_quest(13,5);
	break;
	
begintalknode;
	state = 21;
	nextstate = -1;
	condition = 1;
	question = "_It was a tourist destination?_";
	text1 = "_It is a beautiful place. The trees against the mountains. The waterfalls, the cliffs. It is the most beautiful place in the Rokaj, when it is not attacking us._";

begintalknode;
	state = 21;
	nextstate = -1;
	condition = 1;
	question = "_How is the pass unusual?_";
	text1 = "_The Ruska Pass is not a sacred grove. There is no intelligence there, or there wasn't. It is not really remote. It's a major road. Yet, the natural magic there has always been strong. It adds to the beauty._";

begintalknode;
	state = 21;
	nextstate = -1;
	condition = 1;
	question = "_You say I will be allowed in?_";
	text1 = "_Lately, when outsiders have tried to travel the road through the Ruska Pass, they have been blocked. Trees fall. Roots tangle up wagon wheels. When the sun goes down, rootlings come._";
	text2 = "_I have sent several druids there. They will force the pass to calm down enough for you to be able to enter._";

begintalknode;
	state = 21;
	nextstate = -1;
	condition = 1;
	question = "_What should I do when I am there?_";
	text1 = "_Find why the pass is attacking, and cut out the rot. The cause of the problem is a mystery to us. The Ruska Pass has not acted this way in our memory._";
	text2 = "";

begintalknode;
	state = 18;
	nextstate = 22;
	condition = gf(15,11) == 4 && gf(22,11) > 0;
	question = "_I found the source of the attacks in Ruska Pass._";
	text1 = "The Raasa takes a deep breath. _All right. I am ready. Tell me the solution to this grim mystery._";

begintalknode;
	state = 22;
	nextstate = 18;
	condition = 1;
	question = "_One of your druids went mad and tried to kill me._";
	text1 = "Raasa Khamm shakes his head. _Once again, the Rokaj shames itself. We have tried to assassinate you again. I am trying so hard to avoid rebellion and war, and my people only make it harder._";
	text2 = "Raasa Rabila nods. _Another attempt to kill a [P], after killing our Raasa. Someone is determined to have a war._";
	text3 = "_I apologize on behalf of the Kranas Woods. Our druids ... They do not act this way. Still, this is progress. The road is clear. At last, you can take the final step in the journey._";
	code = 
		if (gf(15,12) > 0)
			rs(1);
			else rs(2);
		set_flag(15,11,5);
		toggle_quest(13,6);
	break;


begintalknode;
	state = 18;
	nextstate = 24;
	condition = gf(15,11) == 5 || gf(15,11) == 6;
	question = "_What is the final step in the journey?_";
	text1 = "The Raasa thinks for a long time. This is a difficult decision. Finally, he decides to act.";
	text2 = "_You must go to the deepest grove. You must go to Tehrorman. If it is calmed, the woods will obey us again. Though I dread having to take this step._";
	code = 
		if (gf(15,11) == 0)
			rs(1);
		set_flag(15,11,6);
		toggle_quest(13,7);
	break;

begintalknode;
	state = 24;
	nextstate = -1;
	condition = 1;
	question = "_Why are you so nervous?_";
	text1 = "_No Havenite, no invader of any kind, has set foot in there in centuries. Yet, Tehrorman will not talk to our druids anymore. It wants you._";

begintalknode;
	state = 24;
	nextstate = 25;
	condition = 1;
	question = "_What is Tehrorman?_";
	text1 = "_Tehrorman is the oldest grove. It is the heart grove, in the far northern tip of our valleys. It is usually forbidden to outsiders. I am risking my life by giving you access to it._";
	text2 = "_There is another sacred grove in the valleys to the north. There is no need for you to go there._";

begintalknode;
	state = 25;
	nextstate = -1;
	condition = 1;
	question = "_There is another grove that I shouldn't visit?_";
	text1 = "_Correct. The other grove in the northern valleys has been calm and peaceful. There is no need to put it at risk. Your staying away would do a lot to maintain our trust._";

begintalknode;
	state = 25;
	nextstate = -1;
	condition = 1;
	question = "_What does 'Tehrorman' mean?_";
	text1 = "_In old Ro, it means 'Deep Wood.' Not poetic, but extremely accurate._";

begintalknode;
	state = 25;
	nextstate = -1;
	condition = 1;
	question = "_What do I need to do there?_";
	text1 = "_The wood will talk to you. It will make demands. Maybe test you. You must convince it to stop attacking us. Once we have some peace, we can begin to repair the damage Governor Yvette has done._";
	text2 = "_Just be careful not to damage it. A crime like that would not be soon forgotten. The Ro have long memories._";

begintalknode;
	state = 25;
	nextstate = 26;
	condition = 1;
	question = "_If this grove is forbidden to outsiders, why am I being sent?_";
	text1 = "_It is shameful to say it._";

begintalknode;
	state = 26;
	nextstate = -1;
	condition = 1;
	question = "_Go on._";
	text1 = "_The grove has rejected our druids. It will let them in, but it won't speak to them. The ancient trees there have wisdom. They know who causes the pain, and they know who is useless to them. You are the former. We are the latter._";

begintalknode;
	state = 18;
	nextstate = 27;
	condition = gf(15,11) == 6 && gf(29,11) > 0;
	question = "_I have been to Tehrorman. It has been calmed._";
	text1 = "_We know. We felt it. The people of the Kranas are close to our forest. We felt the anger subside._";
	text2 = "_And yet we need to know. Was Tehrorman damaged? Did you need to burn it?_";

begintalknode;
	state = 27;
	nextstate = 18;
	condition = gf(29,12) == 0;
	question = "_I calmed it without damaging it._";
	text1 = "_That is what we thought. I must say that I am surprised. I thought Khamm turning to you for help was a mistake. It was not. We asked Haven for aid, and you justified his trust. When his bones are buried in Tehrorman, his spirit will be at peace._";
	text2 = "_Our work is almost done._";
	code = 
		award_party_xp(BIG_QUEST_XP);
		set_flag(15,11,7);
		toggle_quest(13,8);
	break;

begintalknode;
	state = 27;
	nextstate = 18;
	condition = gf(29,12) > 0;
	question = "_I calmed it without damaging it._ (Lie.)";
	text1 = "_I know you are lying, [P]. We all felt the wound you inflicted. You did deep harm to the sacred magic of the Kranas Woods. You showed us that, when we turn to Haven, your gaze brings only harm. Raasa Khamm was wrong to trust you._";
	text2 = "_Our work is almost done, and then you can leave._";
	code = 
		award_party_xp(BIG_QUEST_XP);
		set_flag(15,11,7);
		toggle_quest(13,8);
	break;

begintalknode;
	state = 27;
	nextstate = 18;
	condition = gf(29,12) > 0;
	question = "_It had to be destroyed._";
	text1 = "_At least you are honest, [P]. We all felt the wound you inflicted. You did deep harm to the sacred magic of the Kranas Woods. You showed us that, when we turn to Haven, your gaze brings only harm. Raasa Khamm was wrong to trust you._";
	text2 = "_Our work is almost done, and then you can leave._";
	code = 
		award_party_xp(BIG_QUEST_XP);
		set_flag(15,11,7);
		toggle_quest(13,8);
	break;

begintalknode;
	state = 18;
	nextstate = 10;
	condition = gf(15,11) == 7;
	question = "_I have done much in the Kranas. Have I satisfied your petition?_";
	text1 = "_We asked you to keep the groves from attacking us. You did do that. We made a wish, and you fulfilled it. I declare our petition answered. It is time for you to go, so that we can heal._";
	text2 = "_Before you leave, I will only say this. Our problems only really started when Governor Yvette arrived. As long as she stays, there will only be more disruptions. More anger. More rootlings._";
	text3 = "_I declare this matter settled._";
	code = 
		set_flag(15,11,8);
		toggle_quest(13,10);
		toggle_quest(9,4);
	break;


begintalknode;
	state = 10;
	nextstate = 29;
	condition = gf(80,8) >= 2;
	question = "_I would like to know more about the Kranas Woods._";
	text1 = "_Of course. Our land must seem very strange to you. We are a just people. We don't raid the other provinces. We only wish to live and work in peace in our forest._";

begintalknode;
	state = 29;
	nextstate = -1;
	condition = 1;
	question = "_You never raid the other provinces?_";
	text1 = "_Well ... We never raid them first. We only raid the other provinces as retribution for raids they have done against us in the past._";
	text2 = "_Unfortunately, there is always a past raid. Still, we are always just and in the right._";
	
begintalknode;
	state = 29;
	nextstate = -1;
	condition = 1;
	question = "_How did your groves get their power?_";
	text1 = "_We don't know. There are simply parts of the world that are full of magical energy. Sometimes it changes animals. Sometimes plants. In the Kranas, this energy settled in our trees._";
	text2 = "_We know that similar places exist in other parts of Haven. We truly wish we could visit them._";
	
begintalknode;
	state = 29;
	nextstate = -1;
	condition = gf(80,20) > 0;
	question = "_In one of your groves, I found piles of human bones._";
	text1 = "The answer starts with definite discomfort. _Well. Sometimes, our dead want to be laid to rest in our groves. They want to feed our protectors in the afterlife. They want it. The groves welcome it. That is all. It is a private practice._";

begintalknode;
	state = 29;
	nextstate = 30;
	condition = 1;
	question = "_What do you think of Haven?_";
	text1 = "_Many of the Ro have come to doubt Haven over the years. I never did. Our relationship is difficult now, yes, but your power and wealth and protection are good for the Ro. I have believed that ever since I saw Queen Sharyn._";
	text2 = "_This has been a more difficult belief to have, of late. Many think you exploit us. Many think Governor Yvette is to blame._";

begintalknode;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "_You saw Queen Sharyn?_";
	text1 = "_Yes! She came to the Ro when she was young. That is when she met Darmal of the Low Dhaga, your father._";
	text2 = "_She was here, in Ssilyn. I saw her parade through our little town. I was in awe. It shaped my life._";

begintalknode;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "_Tell me about Governor Yvette._";
	text1 = "_I think I will regret criticizing Haven, but you must know. Yvette came here seeing the Kranas Woods as a source of wealth. That is all she wants from us. To loot and to leave._";
	text2 = "_If you want to know more, don't ask me. Ask Counsel Abelin. You can find him in Haven's hall._";
	
begintalknode;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "_How do you think we exploit you?_";
	text1 = "_To exist in our forest, we have to be humble. We take the lands the woods open up to us. We farm and mine in ways that don't hurt the woods. In return, the woods confuse our foes and give us nourishment and magic._";
	text2 = "_We have to resist greed. Haven has not. You have worked land you shouldn't have, and your soldiers have beaten those who protested. I do not share the anger of my people, but I understand it._";
	text3 = "Raasa Khamm is strangely straightforward for a Ro. Must be Haven's influence.";
	
begintalknode;
	state = 10;
	nextstate = 31;
	condition = gf(80,8) >= 2;
	question = "_You are the Raasa of the Kranas Woods._";
	text1 = "_I am. I serve as a ... A local king, I think, is how you think of me. I try to be a leader to the Ro. It is a delicate dance._";

begintalknode;
	state = 31;
	nextstate = -1;
	condition = 1;
	question = "_How did you become Raasa?_";
	text1 = "_It is a long story. There was a lot of debate. Arguments among the clans. Alliances and betrayals. A few killings. At last, I was able to convince them that I could bridge the gap between Haven and the groves._";
	text2 = "_This has not really happened. Before I die, I need to show this is still possible._";
	
begintalknode;
	state = 31;
	nextstate = -1;
	condition = 1;
	question = "_How long have you been Raasa?_";
	text1 = "_Twenty years. I began seeking the post in earnest after your mother came to us. I had seen the might of Haven._";

begintalknode;
	state = 31;
	nextstate = -1;
	condition = 1;
	question = "_What does a Raasa do, exactly?_";
	text1 = "_I lead. Sometimes by force, but usually by wisdom and example. Our clans insist on managing their own affairs, but I need to settle disputes between them and push them to not anger the forest._";
	text2 = "_I also speak for the Kranas Woods when dealing with other provinces. If there is a major dispute, I speak for us in the High Litha._";

begintalknode;
	state = 31;
	nextstate = 32;
	condition = 1;
	question = "_A delicate dance? Tell me more._";
	text1 = "_The Ro do not like to be ruled. Sometimes, they see me as another conqueror from outside. Another tyrant. I must show that my Deep Truth is as honorable and strong as theirs._";
	text2 = "_And yet ..._ He sighs. _There is so much. I must please Haven. I must please the High Litha. And my people. And ... And the Geld Nas._";

begintalknode;
	state = 32;
	nextstate = -1;
	condition = 1;
	question = "_You must please Haven._";
	text1 = "_Of course. We are your vassal. You are our masters. If you want something, it won't be resisted. You have the power to force us to do anything, and you have shown that you aren't shy about using it._";
	text2 = "_The shattered walls of our city tell the story._";

begintalknode;
	state = 32;
	nextstate = -1;
	condition = 1;
	question = "_You must please the High Litha._";
	text1 = "_The High Litha, on the peak of our mountain, are the final judges of disputes. They keep the Deep Truth of our entire people. If they speak against a Raasa, things soon become ... ugly._";

begintalknode;
	state = 32;
	nextstate = -1;
	condition = 1;
	question = "_You must please your people._";
	text1 = "_Yes. They do not understand all the forces that tug at me, all the dangers I must deal with. They want what they want and do what they will do. They are Ro._";
	text2 = "_Like when they tried to kill you, for example. I love my people, but I also often want to strangle them._";

begintalknode;
	state = 32;
	nextstate = -1;
	condition = 1;
	question = "_You must please the Geld Nas?_";
	text1 = "_When a Raasa grows too old and weak or wanders too far from the truth of the Rokaj, the Geld Nas are there. The assassins. They will not let a leader betray the truth of the Ro for long._";
	text2 = "_Happily, I have been spared their wrath for decades. They know I only fight for the good of our people._";

begintalknode;
	state = 10;
	nextstate = -1;
	condition = gf(80,8) >= 2;
	question = "_That is all I need for now._";
	text1 = "_I will be here when you need me. Here, at least, you are an honored guest._";
	action = END_TALK;
	
//


	
// Rabila

begintalknode;
	tag = 70;
	state = -1;
	nextstate = 70;
	condition = 1;
	question = "Name";
	text1 = "You meet a young, muscular warrior of the Ro. He has spent his life as a wanderer of the woods. It doesn't look like he bothered to change his jerkin before he came to the meeting hall.";
	text2 = "He gives you a quick practiced look up and down, unconsciously sizing you up as a fighter. Then he remembers who he is and where he is. _I am Rabila. I am an assistant to the Raasa._";
	text3 = "Then he stops hismelf again. _No. I am Raasa. Acting Raasa Rabila. I will hear your business._";
	text5 = "Rabila is still at work in the meeting hall. He is still a hunter and woodsman, ill at ease indoors, but someone wanted him here for a reason.";
	text6 = "_As Acting Raasa, I will continue to hold court._ The words sound stiff and alien coming out of his mouth.";
	action = INTRO;
	code =
		if (gf(15,12) == 0) {
			rs(3); rs(6);
			}
	break;
	
begintalknode;
	state = 70;
	nextstate = 71;
	condition = gf(15,12) == 0;
	question = "_What is your job here?_";
	text1 = "_I am the assistant to Raasa Khamm. I do ... things. Make tea. Look after records._ He points at a hopeless jumble of stained papers on the table. _Work on matters of justice. There is much to do, with the woods so dangerous._";

begintalknode;
	state = 71;
	nextstate = -1;
	condition = 1;
	question = "_What sort of records does a Ro keep?_";
	text1 = "The question annoys him slightly. _Haven has forgotten. We are still a vassal. We are part of your Empire. Your symbol is a scroll isn't it? Letters and laws and papers keep us together._";
	text2 = "_We are Ro, but we can read._";

begintalknode;
	state = 71;
	nextstate = -1;
	condition = 1;
	question = "_Matters of justice?_";
	text1 = "_The Rokaj still has its share of crime. Theft. Public drunkenness. Raids. Honor duels. Honor stabbings. Honor burnings._";
	text2 = "_I judge cases not important enough for Khamm's time._";

begintalknode;
	state = 71;
	nextstate = 72;
	condition = 1;
	question = "_How are the woods dangerous?_";
	text1 = "_We have angered the groves. We grew too greedy. We expanded too much. The groves are angry, so the people are angry._";

begintalknode;
	state = 72;
	nextstate = -1;
	condition = 1;
	question = "_And why are the people so angry?_";
	text1 = "_You ask why the people of the Kranas care about their trees? You should talk to Raasa Khamm. He will tell you all you must know._";
	
begintalknode;
	state = 70;
	nextstate = -1;
	condition = gf(15,12) == 0;
	question = "_I want to know more about the Kranas._";
	text1 = "_Then you should talk to Raasa Khamm. He has been waiting for you to come. For a long time. Excuse me._";
	action = END_TALK;
	
begintalknode;
	state = 70;
	nextstate = 73;
	condition = gf(15,12) > 0;
	question = "_You are in charge now._";
	text1 = "Acting Raasa Rabila shifts uncomfortably in his seat. _It was forced on me. Raasa Khamm's body was barely cold before I was handed his chair. I know enough to do things but not enough to be a threat._";
	text2 = "_Happily, I should not be in this chair long._";

begintalknode;
	state = 73;
	nextstate = -1;
	condition = gf(10,11) > 1;
	question = "_Raasas are dying a lot lately._";
	text1 = "For a moment, Rabila's stern composure breaks. You get a glimpse of how upset he is at the loss of Khamm. Just for a second. He says, in a soft voice, _This is a hard time. The people are scared. And very, very angry._";

begintalknode;
	state = 73;
	nextstate = -1;
	condition = 1;
	question = "_How will your replacement be picked?_";
	text1 = "_I will not bother you with a long lecture on the intricacies of Ro clan politics. All I will say is that it will be difficult. Nobody expected Khamm to depart us. Nobody is sure who to pick. There is a lot of chaos._";

begintalknode;
	state = 73;
	nextstate = -1;
	condition = 1;
	question = "_When will your replacement be picked?_";
	text1 = "_I am being told very little. All I know is that my successor will be selected on Prova Krug after you leave._";

begintalknode;
	state = 73;
	nextstate = 74;
	condition = 1;
	question = "_Tell me about Raasa Khamm's death._";
	text1 = "_He was poisoned. There was a small meeting. The Raasa and some clan chiefs in this hall. Tea was served. The cups of the Raasa and two guards had the poison. He turned blue, flailed, and died._";

begintalknode;
	state = 74;
	nextstate = -1;
	condition = 1;
	question = "_Where were you?_";
	text1 = "_I was returning from the Ruska Pass. I was seeing what conditions there were, and enjoying a brief time not in the city._";
	text2 = "_I had nothing to do with his death. If anyone suspected otherwise, I would not be here now. I did not want this job._";

begintalknode;
	state = 74;
	nextstate = 76;
	condition = 1;
	question = "_Who was responsible?_";
	text1 = "Rabila is about to stay quiet. He gives a nervous glance at the guards. Then he shrugs. _The Geld Nas. Only they are allowed to kill a Raasa, and only they could honorably use poison._";
	text2 = "_If anyone not Geld Nas dared kill a Raasa, they would swiftly hunt that fool down. Assassination is their privilege._";

begintalknode;
	state = 76;
	nextstate = -1;
	condition = 1;
	question = "_Why was it done?_";
	text1 = "For a moment, Rabila actually smiles. _Oh, do be sure to ask them._";


begintalknode;
	state = 70;
	nextstate = 75;
	condition = gf(15,12) > 0;
	question = "_Now that Raasa Khamm is dead, do I deal with you?_";
	text1 = "_I speak for the Kranas Woods. I am not worthy, and I never asked for it. Still, I must do my duty._";

begintalknode;
	state = 75;
	nextstate = -1;
	condition = 1;
	question = "_What do you think of Governor Yvette?_";
	text1 = "_I will not be in this chair long, so I am free to speak the truth. She takes bribes. For a sack of coins, she will let outsiders cut our forests and anger the groves._";
	text2 = "_Haven doesn't care about us. If they did, they would never give us such a curse as her._";

begintalknode;
	state = 75;
	nextstate = -1;
	condition = gf(15,11) < 8;
	question = "_And Raasa Khamm's petition to Haven?_";
	text1 = "_It remains. It was his wish before he died. It is the wish of the Kranas. The petition remains unchanged. I will direct you now. I know our woods well. I know what you must do._";

begintalknode;
	state = 70;
	nextstate = 18;
	condition = gf(15,12) > 0 && gf(15,11) < 8;
	question = "_I need to talk about your petition to Haven._";
	text1 = "_Yes. Raasa Khamm was not secret about his plans. I know the Kranas Woods like they are my own heart. I worked with him to devise our plan to calm them. I can guide you._";
	
begintalknode;
	state = 70;
	nextstate = -1;
	condition = gf(15,11) == 8;
	question = "_Do the Kranas Woods have any more requests for me?_";
	text1 = "_No. We were allowed to make a petition. We did it. The matter is closed. Now the fate of the entire Rokaj must be decided._";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = gf(80,15) > 0;
	question = "_I want to talk about Prova Krug._";
	text1 = "_There is nothing else to say. You received the challenge. You will act. You will go home. Talking about Prova Krug happens on Prova Krug._";

// Governor Yvette

begintalknode;
	tag = 100;
	state = -1;
	nextstate = 100;
	condition = 1;
	question = "Name";
	text1 = "You meet the Haven's governor in the Kranas Woods. You instantly recognize a born noble from your homeland. She comes from luxury, and she doesn't want to lose it. Her clothes, her makeup, her hair, her surroundings. She has made a tiny palace here in the deep woods.";
	text2 = "She rises and gives you a deep, slow, elegant bow. _[P] [N], I am so very honored to welcome you out to our humble home in the wilderness. I am Governor Yvette, honored to do the business of our family in the Rokaj._";
	text5 = "Governor Yvette sits with you at this long table. She trades gossip about Haven's court and chats happily about affairs back home. Whatever your opinions of her, it is a brief, welcome dose of home. The food and drink is expensive and excellent.";
	text6 = "Every so often, however, you are forced to step back from the luxury and discuss business.";
	action = INTRO;

begintalknode;
	state = 100;
	nextstate = 101;
	condition = gf(80,9) == 0;
	question = "_I am very pleased to meet you._";
	text1 = "_And I you. We have never met. My family always has me out in the vassals, gathering prosperity. I have a real skill for it, I'm afraid._";
	text2 = "Manners dictate a brief time to eat, drink, and for light chat. Eventually, Yvette says, _I hope you will allow me to say a few words before our little bit of business._";

begintalknode;
	state = 100;
	nextstate = 101;
	condition = gf(80,9) == 0;
	question = "_I was looking forward to learning who has neglected their duties so badly._";
	text1 = "A brief, tense silence. Then Yvette says, _You are delightful, [P]. I knew that our noble Queen gave you a touch of her acid tongue. Yet, I know that you will be just when you see the nature of our position here._";
	text2 = "Manners dictate a brief time to eat, drink, and for light chat. Eventually, Yvette says, _I hope you will allow me to say a few words before our little bit of business._";

begintalknode;
	state = 100;
	nextstate = 101;
	condition = gf(80,9) == 0;
	question = "_Let's get this done. I want to finish this mission quickly._";
	text1 = "Yvette laughs. _Of course. Speed suits us both. This is but a little formality. We are both eager to return to business. And life._";
	text2 = "Manners dictate a brief time to eat, drink, and for light chat. Eventually, Yvette says, _I hope you will allow me to say a few words before our little bit of business._";

begintalknode;
	state = 101;
	nextstate = 102;
	condition = 1;
	question = "_What do you have to say?_";
	text1 = "_A diplomatic mission to the Rokaj is long overdue, and it thrills me that our Queen found us worthy to send a [P]. I know you are busy, so I will do my very best to settle affairs with you quickly. I am willing to give you a quick summary of our position here._";

begintalknode;
	state = 102;
	nextstate = 103;
	condition = 1;
	question = "_That is your duty, isn't it? You answer to me._";
	text1 = "That knocks her off balance. _Ah. Well. I ... I suppose I do. In a sense. It is complicated. I promise I meant no offense._";
	text2 = "_I only have one more formality before we discuss boring matters._";

begintalknode;
	state = 102;
	nextstate = 103;
	condition = 1;
	question = "_I appreciate your efficiency._";
	text1 = "_Of course. All know that [P] [N] is wise enough to not get bogged down by the grinding details of state. I will make it as easy to approve of our actions here as possible._";
	text2 = "_I only have one more formality before we discuss boring matters._";

begintalknode;
	state = 102;
	nextstate = 103;
	condition = 1;
	question = "_Anything, as long as you are brief._";
	text1 = "_I will be nothing but brief. You have things to do. I will make it as easy to approve of our actions here as possible._";
	text2 = "_I only have one more formality before we discuss boring matters._";

begintalknode;
	state = 103;
	nextstate = 104;
	condition = 1;
	question = "_And that is?_";
	text1 = "_The Ro are a great gift-giving people. It is a custom I have taken up myself._ She waves her hand. You note that several Kranas women act as her servants. As she speaks, they bring in a heavy leather satchel.";
	text2 = "_Haven has been very successful here. The gold in that satchel is but a token, an expression of gratitude for the honor you have shown us. We are honored to give it to you._";
	text3 = "_If you choose to keep me as governor, I can provide much more. My family and yours have long helped each other._";
	
begintalknode;
	state = 104;
	nextstate = -1;
	condition = 1;
	question = "_What use do I have for wealth?_";
	text1 = "_Well, the Queen's thrift is well-known. She could have given you so much better equipment and such for your mission here, but she likes to force 'self-reliance.'_";
	text2 = "_Maybe this gold can go to buy the equipment you need to better do Haven's business. Or maybe just for a few minor luxuries._";

begintalknode;
	state = 104;
	nextstate = -1;
	condition = 1;
	question = "_This seems like a bribe._";
	text1 = "Yvette's smile freezes on her face. _It is a minor sign of respect, according to the customs of this land. No offense was intended. It can be taken away in a moment._";

begintalknode;
	state = 104;
	nextstate = 100;
	condition = 1;
	question = "_Seems like a nice gift. Nice, but small._";
	text1 = "Yvette is not displeased by your words. Your cooperation pleases her greatly. _But of course!_ A few whispered words, and another sack of gold is brought. You receive the tribute.";
	text2 = "_Now we understand each other very well. And so we can discuss the Kranas. I assure you I will make it easy for you to approve me with a clear conscience._";
	code =
		sf(80,9,1);
		change_coins(400,TRUE);
	break;
	
begintalknode;
	state = 104;
	nextstate = 100;
	condition = 1;
	question = "_I will accept your gift._";
	text1 = "In fact, your cooperation pleases her greatly. You receive the tribute.";
	text2 = "_Now we understand each other very well. And so we can discuss the Kranas. I assure you I will make it easy for you to approve me with a clear conscience._";
	code =
		sf(80,9,1);
		change_coins(250,TRUE);
	break;

begintalknode;
	state = 104;
	nextstate = 100;
	condition = 1;
	question = "_Put your money away._";
	text1 = "Governor Yvette nods slowly. _Your modesty is most admirable._ Her servants swiftly carry the bag away.";
	text2 = "_I understand you so much better now. Now we can discuss the Kranas. I assure you I will make it easy for you to approve me with a clear conscience._";
	code =
		sf(80,9,1);
	break;

begintalknode;
	state = 100;
	nextstate = 106;
	condition = gf(80,9) > 0;
	question = "_How did you receive this post?_";
	text1 = "_My family is one of Haven's oldest and most influential. We are dedicated to our Empire, and we do all we can to increase its power._";
	text2 = "_Our children are brought up to serve Haven. We receive the finest education and the finest breeding, and we learn the secrets of leadership from an early age._";

begintalknode;
	state = 106;
	nextstate = -1;
	condition = 1;
	question = "_Fine education._";
	text1 = "_Our symbol is a scroll, is it not. We learn history. Politics. Geography. Magic, when we have aptitude. I do not, alas._";
	text2 = "_Before I came here, I knew everything about the Ro it was possible to know without actually being here._";

begintalknode;
	state = 106;
	nextstate = -1;
	condition = 1;
	question = "_Fine breeding._";
	text1 = "She raises a chalice of wine and sips delicately from it. _Haven is not just business and power. It is an ideal. Art. Culture. Sophistication. Taking the best of every part of the world and carrying it to all others as a gift._";
	text2 = "_You have surely noted that my hall here is very expensive. It is not luxury. It gives the Rokaj an ideal to aspire to. Alas, these woodfolk are not as receptive as the Gentle Coast._";

begintalknode;
	state = 106;
	nextstate = 107;
	condition = 1;
	question = "_Efficient leadership._";
	text1 = "_Yes. It is difficult and expensive for Haven to protect the Rokaj. Our partnership has to bring benefits to all. Haven needs to get something out of it. The people of the Kranas, brave and strong as they are, just don't get this._";
	text2 = "_So, when necessary, our guards must encourage them._";
	
begintalknode;
	state = 107;
	nextstate = -1;
	condition = 1;
	question = "_What benefits do you bring to Haven?_";
	text1 = "_The Kranas Woods contains valuable resources. The iron is very, very good. Their groves provide herbs, sap, and amber that are very useful in alchemy and are woefully undergathered._";
	text2 = "_There is a lot of money here, and I am the first governor in a century to realize it. I am bringing great wealth to a lot of people, including your family._";

begintalknode;
	state = 107;
	nextstate = 108;
	condition = 1;
	question = "_What do the Kranas Woods think of your 'encouragement'?_";
	text1 = "_I admit, things are tense sometimes. Foolish youths often look at our farms and our mines and our gatherers and see targets._";
	text2 = "_Happily, our soldiers here are fully trained, equipped, and enthusiastic._ Her guards nod. _They are helping me to bring to the Kranas our message of sustainable exploitation._";

begintalknode;
	state = 108;
	nextstate = -1;
	condition = 1;
	question = "_Sustainable exploitation._";
	text1 = "_These woods are full of treasures. They can't be allowed to just sit here. They must be gathered. We are currently experimenting to find the correct rate, so that we don't destroy the place._";
	text2 = "_Perhaps we have been overly enthusiastic. We are correcting our errors._";

begintalknode;
	state = 100;
	nextstate = 110;
	condition = gf(80,9) > 0;
	question = "_Tell me the situation in the Kranas Woods._";
	text1 = "_Of course, matters in the Rokaj are growing somewhat tense. They tried to kill you, so this is not a surprise._";
	text2 = "_Right now, the sacred groves of the Kranas are acting up. Their wild magic is acting against us. We are working to correct this. This has also caused some Kranas warriors to engage in illegal disruptions._";

begintalknode;
	state = 110;
	nextstate = -1;
	condition = gf(15,11) > 0 && gf(15,11) > 0 && gf(15,11) < 8;
	question = "_The Raasa petitioned me to calm their groves._";
	text1 = "_So I heard. A shocking breach of protocol, to be honest. I already assured Raasa Khamm I would find a way to calm things. I am so offended that he bothered you with this mess._";
	text2 = "_Of course, you will handle the situation with great wisdom and efficiency._";

begintalknode;
	state = 110;
	nextstate = -1;
	condition = gf(15,11) >= 8;
	question = "_I have fully granted the Raasa's petition._";
	text1 = "_I assure you, I am utterly grateful. Now that you have done this, we can resume sustainable exploitation, knowing how to avoid the errors of the past. We have learned so much._";

begintalknode;
	state = 110;
	nextstate = 111;
	condition = 1;
	question = "_How do you deal with disruptions?_";
	text1 = "_So many of our vassals have problems with roaming thugs and minor rebellions. Have no worry. My soldiers have no problem reminding the Kranas who is the powerful party here._";

begintalknode;
	state = 111;
	nextstate = 110;
	condition = 1;
	question = "_Are you afraid of retribution?_";
	text1 = "_Yes. That is why the Queen sent you to calm things. She knows what is happening here. She wants our work to continue. But she also wants you to calm things a bit. We all have great faith in you._";

begintalknode;
	state = 110;
	nextstate = 112;
	condition = 1;
	question = "_Let's talk about the state of Haven's forces here._";
	text1 = "_Of course. Our soldiers are fine warriors, true representatives of Haven. Some of our forts might be growing a little worn, but nothing that can't be easily repaired._";

begintalknode;
	state = 112;
	nextstate = -1;
	condition = gf(16,19) == 0;
	question = "_You seem more interested in getting wealth than representing Haven._";
	text1 = "Now Yvette is annoyed. _I can do both. Lots of people are getting rich here. We pay plenty to the crown. My family's support to your mother is even more important. You are in no position to judge me._";
	text2 = "_When you decide whether to replace me, bear that in mind._";
	code =
		sf(16,19,1);
	break;

begintalknode;
	state = 112;
	nextstate = -1;
	condition = gf(16,19) == 0;
	question = "_I have no problem with how you are running things._";
	text1 = "_Then the best thing to do is return to [F0] and tell your general to leave me in place. I will give tribute to the crown. My family will support your family. Everyone will be happy. Especially your mother._";
	text2 = "_When this is done, return to me. I will make sure you are compensated well for your trouble._";
	code =
		sf(16,19,1);
	break;

begintalknode;
	state = 112;
	nextstate = -1;
	condition = gf(16,19) == 0;
	question = "_I have no interest in matters here._";
	text1 = "_Then the best thing to do is return to [F0] and tell your general to leave me in place. I will give tribute to the crown. My family will support your family. Everyone will be happy. Especially your mother._";
	text2 = "_When this is done, return to me. I will make sure you are compensated well for your trouble._";
	code =
		sf(16,19,1);
	break;

begintalknode;
	state = 112;
	nextstate = -1;
	condition = gf(16,19) == 0;
	question = "_Our vassals are always angry. As long as they are not rebelling, I'm not concerned._";
	text1 = "_That is very wise. Once the groves are calmed, there will be no more problems. I will do business. The Ro won't be so furious. Everything will be fine._";
	text2 = "_All I ask is that you return to [F0] and tell your general to leave me in place. I will give tribute to the crown. My family will support your family. Everyone will be happy. Especially your mother._";
	text3 = "_When this is done, return to me. I will make sure you are compensated well for your trouble._";
	code =
		sf(16,19,1);
	break;
	
begintalknode;
	state = 100;
	nextstate = 114;
	condition = gf(80,9) > 0;
	question = "_I want to talk about something specific._";
	text1 = "_I am here to help you learn about the Kranas Woods. It is a strange place, and I know it very well. Some things you learn will be alien or shocking, but, well, that is the Rokaj._";

begintalknode;
	state = 114;
	nextstate = 118;
	condition = gf(80,9) < 3;
	question = "_I have some ideas for how to improve your rule._";
	text1 = "Yvette sighs. _Of course you do. You may give me all of your notes before you disappear and forget about us for ten years._";
	text2 = "_It doesn't matter and isn't necessary. I do my job, and that is all that matters._";

begintalknode;
	state = 118;
	nextstate = -1;
	condition = gf(80,9) < 3;
	question = "_It might help me allow you to remain governor._";
	text1 = "_It is your decision. You are the [P]. Then your mother will listen to your decision and do whatever she wants. We are both at her mercy. So write down your clever ideas until time stops. It doesn't matter._";

begintalknode;
	state = 118;
	nextstate = 114;
	condition = gf(80,9) < 3;
	question = "_And what do you think your job is?_";
	text1 = "_My job is to keep the Kranas peaceful and send Haven taxes. The Kranas is peaceful. Taxes are paid. If you have any ideas about what I can change to aid efficiency or improve the Ro to suit your tastes, do with them whatever you want._";


begintalknode;
	state = 114;
	nextstate = -1;
	condition = gf(16,28) == 0 && gf(80,20) > 0;
	question = "_I found a bunch of human bones in a Kranas sacred grove._";
	text1 = "_Oh. Yes. That is human sacrifice. The Ro of the Kranas take their old and infirm to the sacred groves and let them die. Their flesh feeds the trees._";
	text2 = "_It is a practice I find distasteful, but there is nothing to be gained by directly interfering._";
	code =
		sf(16,28,1);
	break;

begintalknode;
	state = 114;
	nextstate = -1;
	condition = gf(16,27) == 0;
	question = "_It seems routine to hand out bribes out here._";
	text1 = "Yvette laughs. _It is easy to grow naive in the capitol. Every vassal runs on bribes. The rule of law looks good on paper, but it is slow and awkward and very inefficient. Bribes lubricate our nation. They make things happen._";
	text2 = "_Feel how you choose. It will never change._";
	code =
		sf(16,27,1);
	break;

begintalknode;
	state = 114;
	nextstate = -1;
	condition = gf(16,26) == 0 && gf(15,13) > 0 && gf(80,9) < 3;
	question = "_Counsel Abelin has complained about your performance as Governor._";
	text1 = "_Did he now? I didn't think that he would dare. Still, it is important to get unvarnished advice from your underlings. Please don't worry about it._";
	text2 = "_Queen Sharyn likes me and my family. She doesn't know that Abelin exists._";
	code =
		sf(16,26,1);
	break;

begintalknode;
	state = 114;
	nextstate = -1;
	condition = gf(16,25) == 0 && gf(23,11) > 0 && gf(80,9) < 3;
	question = "_I met Counsel Abelin again. He wants to replace you._";
	text1 = "_I know he does. That would be a very foolish decision on your part. Does my family get power and money from the Kranas? Yes! But we share the spoils with your mother._";
	text2 = "_We have her support. The best move for all of us is to support me._";
	code =
		sf(16,25,1);
	break;

begintalknode;
	state = 114;
	nextstate = -1;
	condition = gf(16,24) == 0 && gf(15,11) > 0 && gf(15,11) < 8;
	question = "_The Raasa's petition for me is not a small task._";
	text1 = "_No, but it is a valuable one. The sooner the Kranas is calm, the sooner I can resume business. All the power my family gains, we share with your family._";
	code =
		sf(16,24,1);
	break;

begintalknode;
	state = 114;
	nextstate = -1;
	condition = gf(16,23) == 0 && gf(15,12) > 0 ;
	question = "_What do you think of Raasa Khamm's death._";
	text1 = "She is clearly annoyed. And, you note, still surprised. _It is greatly worrying. Raasa Khamm was a source of stability. He was loved. I can't believe someone could convince the Geld Nas to kill him, and I can't believe the High Litha would allow it._";
	code =
		sf(16,23,1);
	break;

begintalknode;
	state = 114;
	nextstate = -1;
	condition = gf(16,22) == 0 && gf(21,11) > 0 ;
	question = "_There was a brigand in the tower on the road to Achaemin. He said that he was bribing you to stay there._";
	text1 = "_Yes. I won't lie. That is true. Perhaps I was a little ... overenthusiastic there. Perhaps Haven's soldiers should have been there watching the border._";
	text2 = "_But ... it's a back-country road between one minor vassal and another minor vassal. Do you really care?_";
	code =
		sf(16,22,1);
	break;

begintalknode;
	state = 114;
	nextstate = -1;
	condition = gf(16,21) == 0 && gf(15,6) > 0;
	question = "_What happened to Counsel Abelin? Where is he?_";
	text1 = "_Ahhh ... So unfortunate. I heard about growing unrest in the particularly remote and dangerous parts of the Kranas Woods. I felt that only Abelin was brave and noble and pure enough to deal with it._";
	text2 = "_So I sent him away. Who knows what obscure, muddy path he is trudging down now?_";
	code =
		sf(16,21,1);
	break;

	
begintalknode;
	state = 114;
	nextstate = 100;
	condition = 1;
	question = "_I have nothing to ask for now._";
	text1 = "_All right. Please have a snack. I have them brought here from Haven. They are delicious._";

begintalknode;
	state = 100;
	nextstate = 115;
	condition = gf(80,8) < 3 && gf(80,9) > 3;
	question = "_It is almost time to decide what to do about you._";
	text1 = "_Yes. Soon, you will return to General Miranda and say your opinion of the marvelous wealth and power I have found here. Power I have shared with your family._";
	text2 = "_I will share this benevolence with you. Resources. Quicksilver. Gold. All are yours if you support me. Bear this in mind when you give your judgment to the Queen._";

begintalknode;
	state = 115;
	nextstate = -1;
	condition = 1;
	question = "_That is all you have to say?_";
	text1 = "_In the end, your mother will decide. She is smart, and she knows what is best for the stability and safety of her family. I am a good ally. She will decide based on that._";
	text2 = "_As for you, you will leave the Rokaj one day. When you do, you will want to have power and influence where you end up. Angering the Queen will not help. You will be pushed aside, and your mother will just reinstate me._";
	text3 = "_But you are the [P]. Say what you want. We all trust you to be wise._";

begintalknode;
	state = 100;
	nextstate = 116;
	condition = gf(80,9) == 3;
	question = "_I have decided to keep you as governor._";
	text1 = "_I am flattered, and I am proud that I was able to win you over. Even though it doesn't really make a difference. I'm sure the Queen would have reinstated me anyway._";
	text2 = "_Still, since you have aided my family, we will aid you in return. I have set aside a generous store of supplies, including gold and quicksilver. These will be sent to your forts._";
	code =
		if (gf(15,10) == 0) {
			sf(15,10,1);
			change_coins(500,TRUE);		
			activate_mine_resource(41);
			}
			else rs(2);
		break;
		
begintalknode;
	state = 116;
	nextstate = -1;
	condition = 1;
	question = "_Really?_";
	text1 = "_Your mother would never actually let me be thrown out. Did you really think otherwise? I am just too valuable a resource. Now, please excuse me. I have had enough amusement. I need to get to work._";
	text2 = "_The Rokaj is close to rebellion. I am preparing. When they decide to strike, they will learn what Haven can do if it is actually angry. I wish you safe travels, [P], in this difficult time. Excuse me._";
	action = END_TALK;
	
begintalknode;
	state = 100;
	nextstate = 117;
	condition = gf(80,9) == 4;
	question = "_You will be replaced with Counsel Abelin._";
	text1 = "_I thought you would say so. You are young and sentimental. Still, a year from now, I think I will still sit in this chair._";

begintalknode;
	state = 117;
	nextstate = -1;
	condition = 1;
	question = "_What makes you so sure?_";
	text1 = "_Your mother will never actually let me be thrown out. Did you really think otherwise? I am just too valuable a resource. Now, please excuse me. I have had enough amusement. I need to get to work._";
	text2 = "_The Rokaj is close to rebellion. I am preparing. When they decide to strike, they will learn what Haven can do if it is actually angry. I wish you safe travels, [P], in this difficult time. Excuse me._";
	action = END_TALK;

// Counsel Abelin

begintalknode;
	tag = 130;
	state = -1;
	nextstate = 130;
	condition = 1;
	question = "Name";
	text1 = "The lower level of Haven's hall is opulent and expensive, and the upper floor is more of the same. A lone soldier is sitting and working at the table here. Maps and ledgers are piled on the table in front of him. His arms and armor are piled on the floor by his feet.";
	text2 = "He is a young man, serious and efficient. When he sees who you are, he leaps to his feet. _A [P] of Haven! I am Abelin, Counsel to the governor. It is very, very good to see you here._ He bows to you. It is a long bow. Awkwardly so. He doesn't straighten up.";
	text5 = "Counsel Abelin sits with you at the long table. You can see that he has been doing a lot of work. He's made a comprehensive study of new settlements and monster attacks in the Kranas Woods.";
	text6 = "The work is unfamiliar to a backwoods warrior like him, but he has taken to it with great energy.";
	action = INTRO;

begintalknode;
	state = 130;
	nextstate = -1;
	condition = gf(15,14) == 0;
	question = "_All right. Stand up._";
	text1 = "Counsel Abelin rises. _Of course. I am sorry. I have been isolated out here, waiting for support. The situation here is very difficult. I have been trying to get someone to pay attention but ..._";
	text2 = "_I am sorry. I must be polite. Easy to forget. Please sit and have some tea._";
	code =
		sf(15,14,1);
	break;
	
begintalknode;
	state = 130;
	nextstate = -1;
	condition = gf(15,14) == 0;
	question = "Bow back.";
	text1 = "The moment you start to bow, Abelin, startled, straightens up again. _I am sorry for the display, [P]. My manners are off. I have been isolated out here, waiting for support. The situation here is very difficult. I have been trying to get someone to pay attention but ..._";
	text2 = "_I am sorry. I must be polite. Easy to forget. Please sit and have some tea._";
	code =
		sf(15,14,1);
	break;

begintalknode;
	state = 130;
	nextstate = 131;
	condition = 1;
	question = "_What is a Counsel?_";
	text1 = "_I am the assistant to Governor Yvette. All governors are supposed to have one. It's a big job, being governor that is._";

begintalknode;
	state = 131;
	nextstate = -1;
	condition = 1;
	question = "_Where are you from?_";
	text1 = "_I am a Havenite. I was born and raised in Dyandia, the vassal to the east. Born to Haven merchants in that land. I grew up foreign, but I am as loyal to the Empire as any._";

begintalknode;
	state = 131;
	nextstate = -1;
	condition = 1;
	question = "_And what do you do for Yvette?_";
	text1 = "_Governors get counsels to support them and give them advice. Of course, Yvette doesn't want my advice, and she doesn't trust me with anything important._";
	text2 = "_So I stay up here and record what is happening._";

begintalknode;
	state = 131;
	nextstate = 132;
	condition = 1;
	question = "_How did you get this position?_";
	text1 = "_Since I grew up in the next vassal over, when I joined the army, it was natural to send me back here. My superiors thought I had sense, so they sent me to Yvette. Her hall here is pretty isolated, and they wanted her to have help._";

begintalknode;
	state = 132;
	nextstate = -1;
	condition = 1;
	question = "_What did Yvette think of that?_";
	text1 = "_She was not pleased. She had picked members of her family to be here with her. Haven wanted to have someone independent watching her. I was sent. I gave my advice. She stuck me up here soon after that._";
	text2 = "He laughs. _She probably doesn't remember that I am here._";
	
begintalknode;
	state = 130;
	nextstate = 133;
	condition = gf(15,13) == 0;
	question = "_What is the status of our province here?_";
	text1 = "Counsel Abelin is silent for a long moment. You give him time to sort through whatever is happening in his head. Finally, he says, _[P], I need your permission to speak frankly._";
	text2 = "_Haven's affairs have been handled very badly here. However, I don't want to speak badly of a superior._";

begintalknode;
	state = 133;
	nextstate = -1;
	condition = 1;
	question = "_You sound sort of insubordinate._";
	text1 = "_Yes, and insubordination is a serious crime. I don't want to be flogged. However, if I need to say something to help Haven, I should say it._";

begintalknode;
	state = 133;
	nextstate = -1;
	condition = 1;
	question = "_I was actually planning to spend as little time here as possible._";
	text1 = "_But ... We have been isolated out here for so long. It has been years since there has been a proper ... Sorry. Not keeping my mouth shut. It has been a real problem for me. I am sorry._";

begintalknode;
	state = 133;
	nextstate = -1;
	condition = 1;
	question = "_I don't need more complications. I'd prefer you keep quiet._";
	text1 = "Abelin tries to hid his disappointment. With difficulty, he chokes back a response. He takes a deep breath and says, _Of course, [P]. The Governor is downstairs. She will tell you everything you want to hear._";
	text2 = "_Please don't let me waste your time. I will just stay up here, recording the collapse._ He returns to his maps and notes.";
	action = END_TALK;
	
begintalknode;
	state = 133;
	nextstate = 130;
	condition = 1;
	question = "_I give you permission to tell me the truth, no matter how difficult._";
	text1 = "_That is very kind, but I know the punishment for speaking truth. Still ... I will tell you the truth about Governor Yvette. Then I will face the consequences._";
	text2 = "_You won't have to take my word for it. Wander around and learn more about what has been happening. Then talk to me. I can say so much._";
	code =
		sf(15,13,1);
		toggle_quest(37,1);
	break;
	
begintalknode;
	state = 130;
	nextstate = 134;
	condition = gf(15,13) > 0;
	question = "_Tell me the truth about Governor Yvette._";
	text1 = "_She is corrupt. I want to say she is incompetent, but she is very skilled at what she wants to do: Enriching herself and her family. Meanwhile, our colony here grows more unstable by the day._";
	text2 = "_She takes bribes and infuriates the locals. If nothing is done, violence will result._";

begintalknode;
	state = 134;
	nextstate = -1;
	condition = 1;
	question = "_Don't all of our governors take the occasional bribe?_";
	text1 = "_I can't say. I'm young. I haven't served many. However, Yvette has sold too much of the Kranas Woods to outsiders. It angers the forest, and it angers the people. The Ro will lash out soon if things aren't calmed._";

begintalknode;
	state = 134;
	nextstate = -1;
	condition = 1;
	question = "_What sort of disaster awaits?_";
	text1 = "_I know it sounds strange, but this whole forest is magical. It thinks, in a way. It looks after its people. It's not strong, though. It can be killed, if too many settlers come and chop down too much._";
	text2 = "_If that happens, the people of the Kranas will go mad._";

begintalknode;
	state = 130;
	nextstate = 135;
	condition = gf(15,13) > 0;
	question = "_How are Haven's forts doing?_";
	text1 = "_You should see [F1], if you haven't already. We get supplies and money to maintain ourselves. Much of the money vanishes. Large portions of the supplies are sold. The fort decays._";

begintalknode;
	state = 135;
	nextstate = -1;
	condition = 1;
	question = "_Where does all the money go?_";
	text1 = "_Governor Yvette collects it. It enters her halls. I don't know where it goes, and she gets very angry when I ask for some to purchase weapons and such._ He laughs. _I wouldn't be surprised if she offers you a bag of it._";
	text2 = "_It certainly doesn't buy anything that would defend us here._";

begintalknode;
	state = 135;
	nextstate = 137;
	condition = 1;
	question = "_Do we really need strong forts here?_";
	text1 = "_This is the Rokaj, and the people are very angry. They won't show it. Deep Truth, and all that. They'll be nice and smiley and friendly right until they stick the knife in._";

begintalknode;
	state = 137;
	nextstate = -1;
	condition = 1;
	question = "_You really think they are that angry?_";
	text1 = "_Yvette sold land to intruders from the Gentle Coast, and now the forest is making monsters to attack them. Yes, the Kranas is very angry._";

begintalknode;
	state = 130;
	nextstate = 136;
	condition = gf(15,13) > 0;
	question = "_So you don't like Governor Yvette. What should I do?_";
	text1 = "_I am sorry, [P], but I don't know. I am not nobility. I'm only a plain soldier, but I see what is happening. It is not good to have her here._";
	text2 = "";

begintalknode;
	state = 136;
	nextstate = -1;
	condition = 1;
	question = "_And if the Queen doesn't want Yvette replaced?_";
	text1 = "_I would never question the Queen. I know you came here to get information, so I gave it._";

begintalknode;
	state = 136;
	nextstate = -1;
	condition = 1;
	question = "_I would need to select someone to replace Yvette._";
	text1 = "_That makes things even more difficult. There are no good candidates. Almost everyone here but me was selected by her, chosen from her family and her allies._";
	text2 = "_I wish I could be more helpful. All I can do is say what has been happening and trust in the wisdom of the crown._";

// Druid Miryama

begintalknode;
	tag = 160;
	state = -1;
	nextstate = 160;
	condition = 1;
	question = "Name";
	text1 = "Ssilyn has more trees and flowers in it than most vassal cities you have visited. It's what you would expect from the Kranas Woods. There is even a nice little grove tucked away in this corner of town.";
	text2 = "An old druid of the Kranas tends to it, caring for the garden and gathering herbs. When you enter, you get a warm welcome. _Welcome to my little grove, visitor. I am Druid Miryama, one of many honored to speak with our forests._";
	text3 = "_I wanted to see you very badly._";
	text5 = "You sit with Druid Miryama as he grinds up aromatic herbs and puts them in little jars. _I get many visitors in this little grove. They come for plants or for peace. Few come as important as you, of course._";
	action = INTRO;

begintalknode;
	state = 160;
	nextstate = 161;
	condition = 1;
	question = "_Tell me about your order._";
	text1 = "_We are druids. I know enough of the world to know that your Empire has many like us. When lands become infused with powerful magic, they draw people like me. People who feel it, tap into it, and who care._";
	text2 = "_In a forest like this, we are necessary. The groves give to us, we give back, and the druids guide the process._";

begintalknode;
	state = 161;
	nextstate = -1;
	condition = 1;
	question = "_Why are druids necessary?_";
	text1 = "_There is great power in this forest. It protects and sustains us. However, it is a wild power. It needs to be tended to. We must be gardeners of magic. We look after the sacred groves. We prune away the sick and harmful, and we encourage the good._";

begintalknode;
	state = 161;
	nextstate = -1;
	condition = 1;
	question = "_What do you give the groves?_";
	text1 = "_We tend to them. We protect them. We feed them. They are powerful and fragile, wise and wild. Sometimes, we need to protect them. We have great rage for those who would harm them._";

begintalknode;
	state = 161;
	nextstate = 162;
	condition = 1;
	question = "_What do the groves give you?_";
	text1 = "_So many things. They share enchanted sap and amber with us. These are very valuable. They control the forests. When we are raided or invaded, the groves confuse and swallow up our attackers._";
	text2 = "_Those are not even the most important things, though._";

begintalknode;
	state = 162;
	nextstate = -1;
	condition = 1;
	question = "_What is most important?_";
	text1 = "_The forest gives us our identity. It makes us unique. We are the forest people. That is part of our Deep Truth, but it is not secret. We are one with our land._";

begintalknode;
	state = 160;
	nextstate = 163;
	condition = 1;
	question = "_Why is there a grove in town?_";
	text1 = "_A true, fortunate Ro of the Kranas lives out in the woods. The forest makes free spaces for us, and we live there. Some of us, alas, have the misfortune of needing to live in a town._";
	text2 = "_This is my fate. I would not be here, if I could choose._";

begintalknode;
	state = 163;
	nextstate = 164;
	condition = 1;
	question = "_Where would you choose to be?_";
	text1 = "_The place for a druid is out in the forest. Walking the groves. Sleeping under the trees. Out in the wilds. But that is hard. It wears you down, and I am old._";
	text2 = "_Someday, I will be blessed. Someday, I will have a peaceful end._";

begintalknode;
	state = 164;
	nextstate = -1;
	condition = 1;
	question = "_What is the end?_";
	text1 = "_The groves make us what we are. One day soon, I will be returned to them._";

begintalknode;
	state = 160;
	nextstate = 165;
	condition = gf(15,21) < 2;
	question = "_Why did you want to see me so much?_";
	text1 = "_I know what happens in Ssilyn, better than most. I know that our groves are angry and that our Raasa must find someone to calm them. The groves are angry at the druids. We haven't protected them from Haven._";
	text2 = "_If you go to our groves, I need to ask you to treat them with care and mercy. It is a dangerous time._";

begintalknode;
	state = 165;
	nextstate = 166;
	condition = 1;
	question = "_Care and mercy?_";
	text1 = "_The groves must be calmed. The druids have lost control of them. If you are part of the effort, I ask that the groves not be burned or looted. Prune away the bad, but leave the groves to live and protect us._";
	text2 = "_I give you this request very humbly. If you can calm our groves without damaging them, I think I can help Haven's cause._";
	code = 
		set_flag(15,21,1);
		toggle_quest(32,1);
	break;

begintalknode;
	state = 166;
	nextstate = -1;
	condition = 1;
	question = "_What groves are you talking about?._";
	text1 = "_Watchfire Grove to the south. Deepgrove to the north. If you talk to our Raasa, I think you will learn about them soon._";

begintalknode;
	state = 166;
	nextstate = -1;
	condition = 1;
	question = "_I don't know how to calm the groves._";
	text1 = "_We don't either. If we did, we would have done it. The groves want to see you, want to see the outsider. I think they will make it clear what they want if you go there._";

begintalknode;
	state = 166;
	nextstate = -1;
	condition = 1;
	question = "_What if I have to fight to calm the groves?_";
	text1 = "_Branches must be pruned. Rot must be cut out. You can remove the plants that are infected with hate, like the rootlings. Leave the parts of the groves that love us intact._";

begintalknode;
	state = 166;
	nextstate = -1;
	condition = 1;
	question = "_Why would I be tempted to raze the groves?_";
	text1 = "_There is treasure in the groves. I won't hide it. You will hear about it soon enough. Old offerings and precious amber. Your governor has taken wealth from more than one of our groves. This was noticed by our people._";

begintalknode;
	state = 166;
	nextstate = -1;
	condition = 1;
	question = "_What is my reward for helping you?_";
	text1 = "_I am not rich. I only have flowers. However, the people of the Kranas listen to their druids. If you want to prevent any uprisings, our words can help._";

begintalknode;
	state = 160;
	nextstate = -1;
	condition = gf(15,21) == 1 && gf(15,22) == 0 && gf(18,11) > 0 && gf(18,12) == 0;
	question = "_Watchfire Grove has been calmed._";
	text1 = "You tell Druid Miryama the tale. He nods, satisfied. _It is quite a story. A good enough story to spread. The Ro will hear of the kindness and courage of Haven._";
	code =
		award_party_xp(SMALL_QUEST_XP / 2);
		ro_faction(1);
		sf(15,22,1);
	break;

begintalknode;
	state = 160;
	nextstate = -1;
	condition = gf(15,21) == 1 && gf(15,22) == 0 && gf(18,12) > 0;
	question = "_Watchfire Grove had to be destroyed._";
	text1 = "You tell Druid Miryama the tale. He turns his head away, so that you can't see his tears. _I was not there. I can't judge if our grove was too sick to be saved. I will try to trust you, but many will not be so generous._";
	code =
		ro_faction(-4);
		sf(15,22,1);
	break;

begintalknode;
	state = 160;
	nextstate = -1;
	condition = gf(15,21) == 1 && gf(15,23) == 0 && gf(19,11) > 0 && gf(19,12) == 0;
	question = "_Deepgrove has been calmed._";
	text1 = "You tell Druid Miryama the tale. He nods, satisfied. _You have done a good deed for us, and I will make sure that you get credit for it. Word of your kindness will spread._";
	code =
		award_party_xp(SMALL_QUEST_XP / 2);
		ro_faction(1);
		sf(15,23,1);
	break;

begintalknode;
	state = 160;
	nextstate = -1;
	condition = gf(15,21) == 1 && gf(15,23) == 0 && gf(19,12) > 0;
	question = "_Deepgrove had to be destroyed._";
	text1 = "You tell Druid Miryama the tale. He turns his head away, so that you can't see his rage. _I have served in Deepgrove. I did not think that it was so twisted with rage, so far gone. I am forced to trust you. You should know that many will not._";
	code =
		ro_faction(-4);
		sf(15,23,1);
	break;
	
begintalknode;
	state = 160;
	nextstate = -1;
	condition = gf(15,21) == 1 && gf(15,22) > 0 && gf(15,23) > 0 && (gf(19,12) > 0 || gf(18,12) > 0);
	question = "_I have dealt with both of the nearby groves._";
	text1 = "_You have. You pacified both groves. However, you weren't able to do so without destruction. The Ro of the Kranas Woods know what you did. They will not forget._";
	text2 = "_Still, the groves were attacking us. Now they are not. We will take this small consolation and struggle ahead with what remains._ He sighs sadly. _But where will my bones rest now?_";
	code = 
		set_flag(15,21,2);
		toggle_quest(32,10);

	break;		
	
begintalknode;
	state = 160;
	nextstate = -1;
	condition = gf(15,21) == 1 && gf(15,22) > 0 && gf(15,23) > 0 && gf(19,12) == 0 && gf(18,12) == 0;
	question = "_I have dealt with both of the nearby groves._";
	text1 = "_You have. You pacified both groves, and you did so with care and respect. I promise that our people have heard about it. Tales about [P] [N] are already being told in the most remote glens of the Kranas._";
	text2 = "_Also, I have managed to get a small reward for you. A few local clans want to thank you for your work on our behalf. I have made sure that some iron will be sent to [F1] to aid in rebuilding. Thank you so much, [P]._";
	text3 = "He also gives you a piece of amber. _Sometimes, the groves give this to us. I want you to have some, to show our thanks._";
	code = 
		set_flag(15,21,2);
		toggle_quest(32,10);
		award_party_xp(SMALL_QUEST_XP);
		ro_faction(2);
		activate_mine_resource(15);
		change_crafting(0,0,1,0,0);
	break;		


begintalknode;
	state = 160;
	nextstate = -1;
	condition = gf(15,21) > 1;
	question = "_Is there anything else I can do here?_";
	text1 = "_Not here, no. There are angry groves in the northern half of the Kranas Woods. I can't speak for those. Our Raasa can tell you more._";

begintalknode;
	state = 160;
	nextstate = -1;
	condition = gf(30,29) == 3;
	question = "_I'm looking for a druid named Adhuil._";
	text1 = "_Adhuil? I know her. She came recently, asking about diseased groves. Wanted to heal them. A worthy quest._";
	text2 = "_She left heading west. There is much disease in that direction._";
	
// Healer Daula

begintalknode;
	tag = 190;
	state = -1;
	nextstate = 190;
	condition = 1;
	question = "Name";
	text1 = "Ssilyn has a large and busy sickhouse. All of the ill and wounded for many miles around are brought here. Despite the illness and the decay, this place is kept clean, scrubbed, and fresh-smelling.";
	text2 = "The head healer is slightly confused about why you are here. She rushes over and gives you a hasty greeting. _We did not expect the Haven envoy to come to our humble tower. I'm sorry. We are not prepared. I ... I am Healer Daula. Welcome._";
	text5 = "Talking to Healer Daula is a slow process. She is constantly running off to tend to her potions. She has a remarkable variety of healing herbs and potions. The forest provides well.";
	action = INTRO;

begintalknode;
	state = 190;
	nextstate = 191;
	condition = 1;
	question = "_You are a healer._";
	text1 = "_I have humble skills in that art. I am not a druid or a wizard. We don't heal with incantations. We use medicine, bandages, skill, patience, and the gifts of the wood._";

begintalknode;
	state = 191;
	nextstate = -1;
	condition = 1;
	question = "_You don't use magic?_";
	text1 = "_Healing magic is very powerful when used on recent wounds to an otherwise healthy body. For deeper illnesses, magic does no good._";
	text2 = "This is true. Were it otherwise, your mother would not be trapped in her bed. And nobody would ever die.";

begintalknode;
	state = 191;
	nextstate = -1;
	condition = 1;
	question = "_You said, 'gifts of the wood'?_";
	text1 = "_Even when our forest is lashing out, like now, it still loves us. It provides all the herbs we could want to heal our sicknesses and ease our pain, until we come to the end._";

begintalknode;
	state = 191;
	nextstate = 192;
	condition = 1;
	question = "_I have magic. Can I help you?_";
	text1 = "She looks around and actually gives it serious thought. Then she says, _Thank you, but no._";

begintalknode;
	state = 192;
	nextstate = -1;
	condition = 1;
	question = "_Why can't I help?_";
	text1 = "_We have nobody here who have the sorts of injuries magic would ease. If there were, we would have already asked Druid Miryama for aid. He is pretty tireless for an old man._";
	text2 = "_His grove is in the opposite corner of town._";
	text3 = "Then she pauses. _Actually. I know this is unwise. I should note ... but ... Yes. There is a way you can help. Perhaps we can discuss it at some point._";
	code =
		if (gf(15,24) == 0)
			sf(15,24,1);
			else rs(3);
	break;
	
begintalknode;
	state = 190;
	nextstate = 193;
	condition = 1;
	question = "_Who do you treat here?_";
	text1 = "_All who come. The Raasa gives us healers land, food, and support. In return, we care for all who come to us, free of charge._";

begintalknode;
	state = 193;
	nextstate = -1;
	condition = 1;
	question = "_You don't charge money?_";
	text1 = "_No. We accept donations. People give what they can. However, we help all the clans freely and equally. This plot of land must only know peace._";
	text2 = "_I will even help a Dhagan raider, if he survives long enough to reach my door._";

begintalknode;
	state = 193;
	nextstate = -1;
	condition = 1;
	question = "_That seems very gentle for the Rokaj._";
	text1 = "_That is because you don't understand us. These mountains are harsh. The essence of Ro life is working together. If there was never a place for peace and safety, we would all have died long ago._";

begintalknode;
	state = 193;
	nextstate = 199;
	condition = 1;
	question = "_What if someone can't be treated?_";
	text1 = "Now Daula is uncomfortable. _The Rokaj has ... many practices. Many ways to respond when one is no longer able to contribute to our survival. The Kranas has rites for the infirm, but they are private._";

begintalknode;
	state = 199;
	nextstate = -1;
	condition = gf(80,20) > 0;
	question = "_Maybe that has something to do with the pile of human bones I saw in a sacred grove?_";
	text1 = "She looks away. _As I said, our ways are private. Haven has always been wise enough to respect them._";

begintalknode;
	state = 190;
	nextstate = 194;
	condition = gf(15,24) == 1 || gf(15,24) == 2;
	question = "_You said that there is a way I can help you?_";
	text1 = "_We don't treat blade wounds, usually, but we do treat disease. There is a source of sickness near us. It needs to be purified, but none of the Kranas will go there. It is Mistglen._";

begintalknode;
	state = 194;
	nextstate = 195;
	condition = 1;
	question = "_Tell me about Mistglen._";
	text1 = "_It is to the west. Once, it was a sacred grove. A beautiful place, where the fog would envelop you and ... Never mind. It was corrupted. And sacked. It is a dark place now._";
	text2 = "_This started after outsiders attempted to settle it. Now it infects all who come close. It needs to be purged._";
	code = 
		set_flag(15,24,2);
		toggle_quest(33,1);
	break;

begintalknode;
	state = 195;
	nextstate = -1;
	condition = 1;
	question = "_How was the glen lost?_";
	text1 = "_There were rich iron veins near it. We of the Kranas were wise enough to leave them alone. Governor Yvette took the opportunity to exploit them. Then the grove died._";

begintalknode;
	state = 195;
	nextstate = -1;
	condition = 1;
	question = "_Who went to settle it?_";
	text1 = "_Outsiders from the Gentle Coast. They thought it was beautiful and rich land. They weren't wise enough to stay away. Their presence angers the land._";

begintalknode;
	state = 195;
	nextstate = -1;
	condition = 1;
	question = "_I may need a reward._";
	text1 = "_That is Governor Yvette's way, yes. I can't offer anything beyond the treasures you find. Oh, but I can also spread the tale. The people of the Kranas Woods will appreciate your help._";

begintalknode;
	state = 195;
	nextstate = -1;
	condition = 1;
	question = "_How can I cure the glen?_";
	text1 = "_Something there is creating foul vapors and spraying them into the air. Maybe it is too large to destroy. If not ... That is what to look for._";
	
begintalknode;
	state = 190;
	nextstate = -1;
	condition = gf(15,24) == 2 && gf(20,11) > 0;
	question = "_Mistglen has been purged._";
	text1 = "You tell her the tale. _I still remember what Mistglen was like. Now I see what it is reduced to. I know that Haven is our protector, but ... It will take a long time to heal from this. I hope the Gentle Coast folk enjoy their prosperity._";
	text2 = "_Anyway, you have done me a kindness. I will make sure word spreads of this. You are doing more good than harm. In places._";
	code = 
		set_flag(15,24,3);
		toggle_quest(33,10);
		award_party_xp(MED_QUEST_XP);
		ro_faction(1);
		inc_flag(80,3,-1);

	break;		
						

// Trader Shohre

begintalknode;
	tag = 220;
	state = -1;
	nextstate = 220;
	condition = 1;
	question = "Name";
	text1 = "Not surprisingly, Ssilyn has a successful trading post. Travelers from the clans are constantly coming in from the deep woods to trade gossip and get supplies.";
	text2 = "The merchant behind the counter is definitely from the Kranas. He has the look and the garb, although this one is wealthier and better fed than most you see. _Welcome, Haven. I am honored to have you in my humble shop. I am Trader Shohre. If you want to trade, I have goods for all needs._";
	text5 = "Trader Shohre says, _Is there any other way I can help you Haven?_ The other customers are always watching you suspiciously out of the corners of their eyes.";
	action = INTRO;

begintalknode;
	state = 220;
	nextstate = 221;
	condition = 1;
	question = "_I'd like to know more about the Kranas Woods._";
	text1 = "Shohre laughs. _I spend too much time in town to know much. I'm a humble merchant. I don't discuss great matters of state._";
	text2 = "_My clan is only interested in peace and helping all the other clans._";

begintalknode;
	state = 221;
	nextstate = -1;
	condition = 1;
	question = "_Who should I talk to?_";
	text1 = "_I know that our Raasa wants to give you the honor of an audience. That is who a mighty [P] should talk to._";

begintalknode;
	state = 221;
	nextstate = 222;
	condition = 1;
	question = "_What does your clan do?_";
	text1 = "_We are traders and miners. We live in the settled, quiet forest. The deep groves are not for us, I am afraid. We hold the Askama Mines, a prosperous stretch of hill._";
	text2 = "You note a cunning glint in his eye, but only for a moment. _Alas, we have been having serious problems._";

begintalknode;
	state = 222;
	nextstate = 223;
	condition = gf(15,25) < 2;
	question = "_You are having problems? Tell me more._";
	text1 = "_As you may know, the groves are active. They are angry. They are punishing us for wrong deeds done. My clan is blameless, but we are still afflicted. We have lost the ability to work the Askama Mines._";
	text2 = "_Slimes afflict us. We have offered a valuable bounty to any who can help us. No takers yet._";
	code = 
		set_flag(15,25,1);
		toggle_quest(34,1);
	break;

begintalknode;
	state = 223;
	nextstate = -1;
	condition = 1;
	question = "_Where are the Askama Mines?_";
	text1 = "_Take the road south from Ssliyn and watch for signs._";

begintalknode;
	state = 223;
	nextstate = -1;
	condition = 1;
	question = "_What do the slimes do?_";
	text1 = "_They ooze out of the earth. Any time you stand on bare dirt, there is a chance that a puddle of hissing, burning goo will appear under your feet._";
	text2 = "_Makes it hard to keep useful workers. Or shoes._";

begintalknode;
	state = 223;
	nextstate = -1;
	condition = 1;
	question = "_Why do you think the slimes appeared?_";
	text1 = "_The anger of the groves. I can think of no other reason. If you traveled there, you could learn more. If you could help us, I would make sure that quality iron is sent to your forts._";
	
begintalknode;
	state = 220;
	nextstate = -1;
	condition = gf(15,25) == 1 && gf(16,11) > 0;
	question = "_I reclaimed the Askama Mines for you._";
	text1 = "Shohre nods gratefully. _I already received news. The mines are active again, and you will be paid well in iron._ As he speaks, you note that his customers are whispering angrily to each other. Shohre notices too.";
	text2 = "_And that should be the conclusion of this business. Thank you, Haven. I wish you luck in your travels._";
	code = 
		set_flag(15,25,2);
		toggle_quest(34,10);
		award_party_xp(MED_QUEST_XP);
		activate_mine_resource(16);
		sf(15,20,1);
	break;		

begintalknode;
	state = 220;
	nextstate = -1;
	condition = 1;
	question = "_What sorts of goods do you sell?_";
	text1 = "You conclude your business.";	
	code = 
		begin_shop_mode("Trader Shohre",
		  "shopdesc.",
		  25,5,0);	
	break;

begintalknode;
	state = 220;
	nextstate = -1;
	condition = 1;
	question = "_I want to sell something._";
	text1 = "You conclude your business.";	
	code = 
		start_alter_items(0);
	break;

begintalknode;
	state = 220;
	nextstate = -1;
	condition = 1;
	question = "_That is all I need._";
	text1 = "_Then I wish you safe travels. Enjoy the Rokaj!_";
	action = END_TALK;
						
// Stalker Alim

begintalknode;
	tag = 250;
	state = -1;
	nextstate = 250;
	condition = 1;
	question = "Name";
	text1 = "Ssilyn has a small garrison of soldiers, here to keep order in the town. It isn't surprising. Pretty normal for the Empire. You meet their leader. He doesn't look like he's from the Kranas. He is taller and thinner, and his face bears the marks of a lifetime of icy wind.";
	text2 = "When you approach, he gives you a brief nod. _Welcome, Haven. I am Stalker Alim. I command the warriors in this tower, for a short time. Do you need assistance?_";
	text5 = "Stalker Alim sharpens his scourge as he talks to you. It is a strange weapon. It's like a scythe, but covered with vicious little razors and spikes. It's not practical for war, but it's very intimidating.";
	text6 = "_Anything else?_";
	action = INTRO;

begintalknode;
	state = 250;
	nextstate = 251;
	condition = 1;
	question = "_I would like some information._";
	text1 = "As he talks, he concentrates on sharpening all of the odd little sharp spikes and blades on his scourge. _Don't have much to give. This is the garrison of Ssilyn. We keep the peace._";

begintalknode;
	state = 251;
	nextstate = -1;
	condition = 1;
	question = "_I'd like to know more about the Kranas._";
	text1 = "_I don't know much more than you. Not from here. Lots of people in town eager to talk to you. I'm sure they'll fill your ear._";

begintalknode;
	state = 251;
	nextstate = -1;
	condition = 1;
	question = "_Having any troubles lately?_";
	text1 = "_Nothing but trouble, now. The forests of the Kranas? They are acting out. Sending monsters everywhere._";
	text2 = "_Not my problem, though, as long as they don't enter the town._";
	text3 = "_It's calmer now. Good thing. We're all less tense._";
	code =
		if (gf(15,11) < 8)
			rs(2);
			else rs(3);
	break;

begintalknode;
	state = 251;
	nextstate = 252;
	condition = 1;
	question = "_What is the purpose of this garrison?_";
	text1 = "_We keep the peace. Lots of visitors from the clans. Not all clans have love between them. They come to drink. They come to fight. My soldiers make sure the fights don't get too out of control._";

begintalknode;
	state = 252;
	nextstate = -1;
	condition = 1;
	question = "_Any worries about outside invasion?_";
	text1 = "_None. No clan would dare bring a battle to Ssilyn. They all need this place._";

begintalknode;
	state = 250;
	nextstate = 253;
	condition = 1;
	question = "_Where are you from?_";
	text1 = "_I was brought from the High Litha. The Raasa doesn't want to have soldiers always lurking here, but Haven forces it. They have to get outsiders._";
	text2 = "";

begintalknode;
	state = 253;
	nextstate = -1;
	condition = 1;
	question = "_Haven forces you to have this tower?_";
	text1 = "_Part of the law for vassals. Every town has to have soldiers stationed to keep order, no matter how good we are at doing it on our own._";
	text2 = "_Makes sense, I guess. It's more to protect Haven and its trade than to protect us, but it's not a terrible idea._";

begintalknode;
	state = 253;
	nextstate = -1;
	condition = 1;
	question = "_Why do outsiders have to run these garrisons?_";
	text1 = "_Because if they picked locals, they'd have to pick from the clans. Then the other clans would get angry and cry favoritism. Then there's anger and fighting. Much better to have an outsider. I don't care about Kranas clans. Only peace._";

begintalknode;
	state = 250;
	nextstate = 254;
	condition = gf(15,26) < 2;
	question = "_Any bounties I should know about?_";
	text1 = "Stalker Alim is genuinely surprised that you asked. _I didn't think Haven would fight for us. Certainly don't think a [P] of Haven will fight against a Havenite for us. But ... since you asked._";
	text2 = "_There is a major road near us, connecting the Rokaj to the Achaemin. There was a tower on it. The Ro held it. We inspected travelers and collected tolls. It was taken by brigands last year, and they harass and extort travelers._";
	text3 = "_If things were running properly, they would be removed._";
	code = 
		set_flag(15,26,1);
		toggle_quest(35,1);
	break;

begintalknode;
	state = 254;
	nextstate = -1;
	condition = 1;
	question = "_Where is this road?_";
	text1 = "_The Achaemin road is southwest from here. Once you are on the road, the brigands won't let you miss the tower._";

begintalknode;
	state = 254;
	nextstate = -1;
	condition = 1;
	question = "_Who are the Achaemin?_";
	text1 = "_They are the vassal to the west. A small, forgotten land, like us. Once, we raided them. Now that we are both held by Haven, there is only peace and trade. Our young can't practice the arts of stealth and war on them._";
	text2 = "_We can exact tolls, though. Or we could, until brigands took the tower._";

begintalknode;
	state = 244;
	nextstate = 255;
	condition = 1;
	question = "_Why haven't you removed these brigands?_";
	text1 = "_We have brought the matter to Governor Yvette. Several times. She says she will act. Then she doesn't._";
	text2 = "_We don't know why this is. It might be related to the fact that the leaders of the brigands is a Havenite._";
	
begintalknode;
	state = 255;
	nextstate = -1;
	condition = 1;
	question = "_A Havenite is doing this? Why was this allowed?_";
	text1 = "_I don't know. I do know that we Ro do not want to kill a Havenite. We can't. You could. It is up to you whether you want to let this rogue besmirch the honor of your Empire._";

begintalknode;
	state = 250;
	nextstate = -1;
	condition = gf(15,26) == 1 && gf(21,11) > 0;
	question = "_I have removed the brigands from the Achaemin Road. Including the Havenite._";
	text1 = "You tell the tale. Alim is surprised and pleased. _Honestly, I did not think that those with power over us were capable of improving things anymore. Allow me to pay you a fair bounty._";
	text2 = "He gives you a High Lithan scourge. Not a very fancy one. _It is a weapon of terror and intimidation. Perfect for Haven._ He also gives you a flask of Clarity Brew. _So that you can see as we do._";
	code = 
		set_flag(15,26,2);
		toggle_quest(35,10);
		award_party_xp(MED_QUEST_XP);
		reward_give(44);
		change_crafting(0,0,0,0,1);
	break;		

begintalknode;
	state = 250;
	nextstate = -1;
	condition = gf(15,26) >= 2;
	question = "_Any more bounties?_";
	text1 = "_No. I'm sorry. It is not good for me to be seen as too close to Haven. I am in a difficult position in a difficult time._";

begintalknode;
	state = 250;
	nextstate = -1;
	condition = gf(15,12) > 0;
	question = "_So. The Raasa was killed._";
	text1 = "_Yes. It was upsetting to all of Ssilyn. Myself included. Raasa Khamm was deferential to Haven, but he always followed his truth, and he was fair and calm._";
	text2 = "_If you are wondering, no. I can't investigate. This is high politics. Geld Nas business. I keep order in town. That is all._";

						
// Satu

begintalknode;
	tag = 280;
	state = -1;
	nextstate = 280;
	condition = 1;
	question = "Name";
	text1 = "Not all of the Ro are angry warriors, angry farmers, or angry traders. As is the case everywhere, there is a fair share of soothsayers, hobos, and general lunatics. One of these is following you right now.";
	text2 = "He is wiry, dirty, and not warmly dressed. He follows you closely. _I am Satu. Satu the truth-teller. Care for a song?_";
	text5 = "Satu is following you again. _I have a song, a song, a song!_";
	action = INTRO;

begintalknode;
	state = 280;
	nextstate = -1;
	condition = 1;
	question = "_Who are you?_";
	text1 = "_I said! I am Satu! I sing my little songs of truth for my meat, and I will sing out loud until the roots wrap around my bones._";

begintalknode;
	state = 280;
	nextstate = -1;
	condition = 1;
	question = "_Do you need anything?_";
	text1 = "_Only coins and a chance to sing, pillar of the world!_";

begintalknode;
	state = 280;
	nextstate = 281;
	condition = 1;
	question = "_I would like a song._";
	text1 = "_Then I need two coins. Two little coins, and I will pour the elixir of madness into your ear._";

begintalknode;
	state = 281;
	nextstate = -1;
	condition = 1;
	question = "_No, thank you._";
	text1 = "_Then go on. Go into a world free of wisdom. I bless you._ He skips away.";
	action = END_TALK;

begintalknode;
	state = 281;
	nextstate = -1;
	condition = 1;
	question = "_Get away from me, vermin, or you will regret it._";
	text1 = "Satu is unfazed by this. The other Ro on the path are shocked by this behavior.";
	text2 = "_Then the vermin goes! The vermin scuttles away! Enjoy the bliss of silence!_ He skips away.";
	action = END_TALK;
	code =
		if (gf(15,29) == 0) {
			sf(15,29,1);
			ro_faction(-2);
			violence(1);
			}
	break;
	
begintalknode;
	state = 281;
	nextstate = 282;
	condition = coins_amount() >= 2;
	question = "_Fine._ Pay 2 coins.";
	text1 = "_Thank you, rock at the foundation of the world! Now listen! Listen to my song!_";
	code =
		change_coins(-2,FALSE);
	break;
	
begintalknode;
	state = 282;
	nextstate = -1;
	condition = gf(15,27) == 0;
	question = "Listen.";
	text1 = "His song is a string of nonsense syllables. Maybe they make sense to him. Maybe it is just babble. However, one bit of it is recognizable as lyrics:";
	text2 = "_Then in the grove, in the precious dirt they lie. Do your part, make us hear you cry. Among the roots, you are taken to die._";
	text5 = "Then, his song finished, he merrily skips away.";
	action = END_TALK;

begintalknode;
	state = 282;
	nextstate = -1;
	condition = gf(15,27) == 1;
	question = "Listen.";
	text1 = "His song is a string of nonsense syllables. Maybe they make sense to him. Maybe it is just babble. However, one bit of it is recognizable as lyrics:";
	text2 = "_The lady over us, with all the gold. She gives our land, for others to hold. The groves, the groves, they all are cold._";
	text5 = "Then, his song finished, he merrily skips away.";
	action = END_TALK;

begintalknode;
	state = 282;
	nextstate = -1;
	condition = gf(15,27) == 2;
	question = "Listen.";
	text1 = "His song is a string of nonsense syllables. Maybe they make sense to him. Maybe it is just babble. However, one bit of it is recognizable as lyrics:";
	text2 = "_The blades awake, upon the peak. They wait an invader, a test to seek. The hordes come down, but strong or weak?_";
	text5 = "Then, his song finished, he merrily skips away.";
	action = END_TALK;

begintalknode;
	state = 282;
	nextstate = -1;
	condition = gf(15,27) == 3;
	question = "Listen.";
	text1 = "His song is a string of nonsense syllables. Maybe they make sense to him. Maybe it is just babble. However, one bit of it is recognizable as lyrics:";
	text2 = "_He is good and he is wise. He cares for us all and says no lies. But the timing is wrong, and so soon he dies._";
	text5 = "Then, his song finished, he merrily skips away.";
	action = END_TALK;

begintalknode;
	state = 282;
	nextstate = -1;
	condition = gf(15,27) == 4;
	question = "Listen.";
	text1 = "His song is a string of nonsense syllables. Maybe they make sense to him. Maybe it is just babble. However, one bit of it is recognizable as lyrics:";
	text2 = "_They came in the night full of cold rage. Our history forced to another page. A good man dies to make a new age._";
	text5 = "Then, his song finished, he sadly walks away.";
	action = END_TALK;
	code =
		sf(15,28,1);
	break;

begintalknode;
	state = 280;
	nextstate = -1;
	condition = 1;
	question = "_Leave me be, beggar._";
	text1 = "_You are left. You are left. Yes, who left you here? Satu leaves you, but he is not the first._ He skips away.";
	action = END_TALK;

						
// Trader Madina

begintalknode;
	tag = 310;
	state = -1;
	nextstate = 310;
	condition = 1;
	question = "Name";
	text1 = "Most of the people in this bar are from the clans of the deep woods, enjoying a rare chance to drink and carouse in what passes out here for civilization. They are doing their very best to ignore you.";
	text2 = "One woman, however, is quietly watching you. She has all sorts of knives on her person, signaling the drunks to keep away. She pats the seat next to her. You are one person she is willing to talk to.";
	text3 = "_Welcome to the Rokaj, Haven. Give me a moment, please? I am eager to be next to fame and power. I am Trader Madina. Stone trader and merchant of the Low Dhaga._";
	text5 = "You sit with Trader Madina in the low, smoky hall. Everyone else in the inn makes sure to give you a lot of distance.";
	action = INTRO;

begintalknode;
	state = 310;
	nextstate = 311;
	condition = 1;
	question = "_I'd like to do some business._";
	text1 = "_I'm the wrong woman to talk to. I sell buildings. The Low Dhagans will travel anywhere to make a proper tower or hall. Out of good, solid stone, not rotting wood._";
	text2 = "_You need a lot, though probably not much new building in two years. Of course, that's not what we should be selling._";

begintalknode;
	state = 311;
	nextstate = -1;
	condition = 1;
	question = "_Do you get a lot of orders out here in the forest?_";
	text1 = "_Yes. All the strongest clans know that stone is the best defense. They all want one proper tower to protect them from raiders._";

begintalknode;
	state = 311;
	nextstate = 312;
	condition = 1;
	question = "_What should you be selling?_";
	text1 = "_Walls. What keeps a clan, a fort, a city safest? A proper Dhagan stone wall. Not a ruin. A real wall._";
	text2 = "_But Haven forbids it. Not since the Great Uprising can we build walls for our people._";

begintalknode;
	state = 312;
	nextstate = 313;
	condition = 1;
	question = "_Do you think it unjust?_";
	text1 = "Now she pauses and thinks. Only for a moment, but you're too savvy to miss it. _It is entirely just. Losing our walls is a tribute we need to make to get the benefits of vassalage. Why do we need walls when Haven protects us?_";

begintalknode;
	state = 313;
	nextstate = -1;
	condition = gf(15,19) == 0;
	question = "_I think that you are lying._";
	text1 = "_I have done nothing to earn your insults. Let's not talk about this._";
	code =
		ro_faction(-1);
		sf(15,19,1);
	break;

begintalknode;
	state = 313;
	nextstate = -1;
	condition = gf(15,19) == 0;
	question = "_I think that law is unjust._";
	text1 = "She thinks about this. _You are a [P], and I sell sheds. I can't comment on your words, but I know they are well meant. My clan will know too._";
	code =
		ro_faction(2);
		sf(15,19,1);
	break;

begintalknode;
	state = 313;
	nextstate = -1;
	condition = gf(15,19) == 0;
	question = "_You rebelled once, and you will again. The law stays._";
	text1 = "She thinks about this. _You are a [P], and I sell sheds. I can only bow to your greater wisdom._";
	code =
		ro_faction(-2);
		sf(15,19,1);
	break;
	
begintalknode;
	state = 310;
	nextstate = 314;
	condition = 1;
	question = "_What do the people here think of Low Dhagans?_";
	text1 = "_Not much. There is a lot of history between the provinces. They are nice enough, though. They want stone halls. They also find me a curiosity._";

begintalknode;
	state = 314;
	nextstate = -1;
	condition = 1;
	question = "_How so?_";
	text1 = "_Dhagan women like me must travel if we want an interesting life. Traders. Erudico. Those are the usual paths._ She does not elaborate.";

begintalknode;
	state = 310;
	nextstate = 315;
	condition = gf(15,19) < 2;
	question = "_Do you trade in stone? I could use some._";
	text1 = "_To get lots of good stone, you will have to leave this wet, hostile place and go to the bright, sunny hills of the Low Dhaga._";
	text2 = "_I do have wealth, though. I have a bounty to pay. Thieves attacked one of my clan's caravans. We require vengeance._";

begintalknode;
	state = 315;
	nextstate = 316;
	condition = 1;
	question = "_Brigand raiders? Tell me more._";
	text1 = "_One of our caravans was taking fine marble to the Achaemin. Thieves lured them off the road, not far from the Achaemin border. They were never seen again. We found their wagons, full of bits of marble. Then we found their bones._";
	text2 = "_Kill the robbers, and my clan will pay you well._";
	code = 
		set_flag(15,19,1);
		toggle_quest(36,1);
	break;
	
begintalknode;
	state = 316;
	nextstate = -1;
	condition = 1;
	question = "_Who are these brigands?_";
	text1 = "_We don't know. They live in the woods east of the Achaemin border. Rogues don't usually last long in the mad forest of the Kranas._";

begintalknode;
	state = 316;
	nextstate = -1;
	condition = 1;
	question = "_How might I find them?_";
	text1 = "_Go southwest to the border. Stay on the road. Stay visible. Look wealthy. I don't think you'll have long to wait before they find you._";

begintalknode;
	state = 310;
	nextstate = -1;
	condition = gf(15,19) == 1 && gf(171,11) == 1;
	question = "_I hunted down those brigands._";
	text1 = "Trader Madina listens to the tale with great pleasure. _My clan will hear of this. Our gratitude is great._ She gets out a satchel and starts handing items to you. A necklace. A bar of metal. A jewel on a silver chain.";
	text2 = "_Thank you, Haven. This act sends a message to all of the Ro. Not all of your kind has forgotten to look after their vassals._";
	code = 
		set_flag(15,19,2);
		toggle_quest(36,10);
		award_party_xp(MED_QUEST_XP);
		reward_give(383);
		ro_faction(1);
		change_coins(100,TRUE);
		change_crafting(0,0,0,1,0);
	break;		

begintalknode;
	state = 310;
	nextstate = -1;
	condition = gf(15,19) == 1 && gf(171,11) == 2;
	question = "_I tried to hunt down those brigands, but they escaped._";
	text1 = "Trader Madina nods. _You inconvenienced them, but our vengeance is delayed. And much more difficult to obtain, I imagine. Still, we appreciate the effort of Haven._ You receive a pouch of gemstones. _Thank you._";
	text2 = "";
	code = 
		set_flag(15,19,2);
		toggle_quest(36,10);
		change_coins(50,TRUE);
	break;		

begintalknode;
	state = 310;
	nextstate = -1;
	condition = gf(15,19) > 1;
	question = "_How is business?_";
	text1 = "_Very good. People can sense chaos in the air. This makes them want stone buildings. I only hope that we can fill all of our orders before disaster comes._";
	text2 = "_So please leave me. Sorry to be rude, but your presence keeps the customers away._";
	action = END_TALK;

														
//

begintalknode;
	tag = 340;
	state = -1;
	nextstate = 340;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 340;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
														
//

begintalknode;
	tag = 370;
	state = -1;
	nextstate = 370;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 370;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

														
//

begintalknode;
	tag = 400;
	state = -1;
	nextstate = 400;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 400;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";	

				